diff options
author | bptato <nincsnevem662@gmail.com> | 2023-02-05 16:27:51 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2023-02-05 16:27:51 +0100 |
commit | 94af53f45cc9ed041ff82db40ee1ca8e9ec1366a (patch) | |
tree | b6f08c219115014a848d2f3abac0dbf07bae50bd /src/utils | |
parent | 6190ae1071c8d07a9a2d10037801838718363e1f (diff) | |
download | chawan-94af53f45cc9ed041ff82db40ee1ca8e9ec1366a.tar.gz |
eprint: make it a function
This makes the compiler complain less.
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/eprint.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/eprint.nim b/src/utils/eprint.nim index 6692ccf5..1564142e 100644 --- a/src/utils/eprint.nim +++ b/src/utils/eprint.nim @@ -1,6 +1,6 @@ {.used.} -template eprint*(s: varargs[string, `$`]) = {.cast(noSideEffect), cast(tags: []), cast(raises: []).}: +func eprint*(s: varargs[string, `$`]) = {.cast(noSideEffect), cast(tags: []), cast(raises: []).}: var a = false var o = "" when nimVm: |