From e4fb95cbe36ad1e231661c922da04b81e0ffeed9 Mon Sep 17 00:00:00 2001 From: andri lim Date: Fri, 19 Jan 2024 16:26:33 +0700 Subject: [PATCH] Resolve ambiguity between chronicles and macros on nim v2 (#45) --- testutils/fuzzing.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testutils/fuzzing.nim b/testutils/fuzzing.nim index d8b4eea..47758db 100644 --- a/testutils/fuzzing.nim +++ b/testutils/fuzzing.nim @@ -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()