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))
else: newFileStream(stdin)
if s.isNil:
error "Error opening input stream"
chronicles.error "Error opening input stream"
suicide()
# We use binary files as with hex we can get lots of "not hex" failures
var input = s.readAll()