about summary refs log tree commit diff stats
path: root/twtio.nim
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2021-01-20 23:26:29 +0100
committerbptato <nincsnevem662@gmail.com>2021-01-20 23:26:29 +0100
commit6e1ef74bdca4c629bda2756a6e72279e038195f4 (patch)
treeea06c329dbf98e55803887c9780703f9201ff987 /twtio.nim
parent07ee263ccc895b543d0b017f1446e9121bc8a1bb (diff)
downloadchawan-6e1ef74bdca4c629bda2756a6e72279e038195f4.tar.gz
some things just never work
Diffstat (limited to 'twtio.nim')
-rw-r--r--twtio.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/twtio.nim b/twtio.nim
index cb59686c..4d2f1083 100644
--- a/twtio.nim
+++ b/twtio.nim
@@ -9,7 +9,7 @@ template print*(s: varargs[string, `$`]) =
   for x in s:
     stdout.write(x)
 
-template eprint*(s: varargs[string, `$`]) =
+template eprint*(s: varargs[string, `$`]) = {.cast(noSideEffect).}:
   var a = false
   for x in s:
     if not a: