summary refs log tree commit diff stats
path: root/lib/pure
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2014-01-11 21:56:05 +0100
committerAraq <rumpf_a@web.de>2014-01-11 21:56:05 +0100
commit346443d1b552574c1f259cd9e6080c2d0063fa9c (patch)
tree0f319406b8312ed325bbb1ef1ea5b7ef74662e07 /lib/pure
parent437cfa73abd8fdf878cc2af2c44acbc4b6ec3a56 (diff)
downloadNim-346443d1b552574c1f259cd9e6080c2d0063fa9c.tar.gz
case consistency improvements
Diffstat (limited to 'lib/pure')
-rw-r--r--lib/pure/collections/LockFreeHash.nim3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/pure/collections/LockFreeHash.nim b/lib/pure/collections/LockFreeHash.nim
index d3a91763a..b94b542ff 100644
--- a/lib/pure/collections/LockFreeHash.nim
+++ b/lib/pure/collections/LockFreeHash.nim
@@ -23,7 +23,8 @@ elif sizeof(int) == 8: # 64bit
     TRaw = range[0..4611686018427387903]
     ## The range of uint values that can be stored directly in a value slot
     ## when on a 64 bit platform
-else: echo("unsupported platform")
+else: 
+  {.error: "unsupported platform".}
   
 type  
   TEntry = tuple