summary refs log tree commit diff stats
path: root/compiler/vm.nim
diff options
context:
space:
mode:
authordef <dennis@felsin9.de>2015-05-18 21:32:29 +0200
committerdef <dennis@felsin9.de>2015-05-18 21:34:26 +0200
commit2076e14a09ea9eb03fd389e1124a7c1847b7d584 (patch)
tree83581b80f99242f084310bce631f8e18aaeb7bf5 /compiler/vm.nim
parent51de44be7954a1c3f3499c5a2a6adcaceec33e3f (diff)
downloadNim-2076e14a09ea9eb03fd389e1124a7c1847b7d584.tar.gz
Update ast spec about uint literals
Diffstat (limited to 'compiler/vm.nim')
-rw-r--r--compiler/vm.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/vm.nim b/compiler/vm.nim
index 560c38d14..e49bed522 100644
--- a/compiler/vm.nim
+++ b/compiler/vm.nim
@@ -1276,7 +1276,7 @@ proc rawExecute(c: PCtx, start: int, tos: PStackFrame): TFullReg =
     of opcNSetIntVal:
       decodeB(rkNode)
       var dest = regs[ra].node
-      if dest.kind in {nkCharLit..nkInt64Lit} and
+      if dest.kind in {nkCharLit..nkUInt64Lit} and
          regs[rb].kind in {rkInt}:
         dest.intVal = regs[rb].intVal
       else: