summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2014-01-25 14:24:33 +0100
committerAraq <rumpf_a@web.de>2014-01-25 14:24:33 +0100
commitf16881ad162a12833aba7598d65684d9e63600c2 (patch)
treeffded6fe903735525a0554d7e00dd5d12ac1628c /lib
parent9d4c4592fa49aa1b571a158025ae3a7155b2414b (diff)
downloadNim-f16881ad162a12833aba7598d65684d9e63600c2.tar.gz
disable internalError so that nimbuild compiles again
Diffstat (limited to 'lib')
-rw-r--r--lib/system.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system.nim b/lib/system.nim
index de23a71fa..09e44a45a 100644
--- a/lib/system.nim
+++ b/lib/system.nim
@@ -1330,7 +1330,7 @@ iterator `||`*[S, T](a: S, b: T, annotation=""): T {.
   ## such isn't aware of the parallelism in your code! Be careful! Later
   ## versions of ``||`` will get proper support by Nimrod's code generator
   ## and GC.
-  nil
+  discard
 
 {.push stackTrace:off.}
 proc min*(x, y: int): int {.magic: "MinI", noSideEffect.} =