Resolve ambiguity between chronicles and macros on nim v2 (#45)
This commit is contained in:
parent
b56a5953e3
commit
e4fb95cbe3
|
@ -32,7 +32,7 @@ when not defined(llvmFuzzer):
|
||||||
let s = if paramCount() > 0: newFileStream(paramStr(1))
|
let s = if paramCount() > 0: newFileStream(paramStr(1))
|
||||||
else: newFileStream(stdin)
|
else: newFileStream(stdin)
|
||||||
if s.isNil:
|
if s.isNil:
|
||||||
error "Error opening input stream"
|
chronicles.error "Error opening input stream"
|
||||||
suicide()
|
suicide()
|
||||||
# We use binary files as with hex we can get lots of "not hex" failures
|
# We use binary files as with hex we can get lots of "not hex" failures
|
||||||
var input = s.readAll()
|
var input = s.readAll()
|
||||||
|
|
Loading…
Reference in New Issue