summary refs log tree commit diff stats
path: root/tests/vm/tarrayboundeval.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2017-09-30 21:35:30 +0200
committerAndreas Rumpf <rumpf_a@web.de>2017-09-30 21:35:30 +0200
commitddc131cf07972decc206e033b2dd85a42eb1c98d (patch)
tree91cdafb802ebef32fd1f4d8b8347409165dee463 /tests/vm/tarrayboundeval.nim
parentb2c358be96e496c37f4d02b0e886a06ed503af9e (diff)
downloadNim-ddc131cf07972decc206e033b2dd85a42eb1c98d.tar.gz
the parser finally parses 'echo {1,2}' as it should
Diffstat (limited to 'tests/vm/tarrayboundeval.nim')
-rw-r--r--tests/vm/tarrayboundeval.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/vm/tarrayboundeval.nim b/tests/vm/tarrayboundeval.nim
index af9e33339..dc8c7ebdc 100644
--- a/tests/vm/tarrayboundeval.nim
+++ b/tests/vm/tarrayboundeval.nim
@@ -25,7 +25,7 @@ echo myconst, " ", int((KeyMax + 31) / 32)
 
 #bug 1304 or something:
 
-const constArray: array [-3..2, int] = [-3, -2, -1, 0, 1, 2]
+const constArray: array[-3..2, int] = [-3, -2, -1, 0, 1, 2]
 
 echo constArray[-2]