Resolve ambiguity between chronicles and macros on nim v2 (#45)

This commit is contained in:
andri lim 2024-01-19 16:26:33 +07:00 committed by GitHub
parent b56a5953e3
commit e4fb95cbe3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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()