summary refs log tree commit diff stats
path: root/tests/tools
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2020-03-18 14:25:10 +0100
committerGitHub <noreply@github.com>2020-03-18 14:25:10 +0100
commit3f29911a9496d82c355b84e23d91e992c3ddfce5 (patch)
treee7636e4f073b40c74d873e1f203fc014497f0360 /tests/tools
parented263e174e7f9a7bce1863dc57979c1a752d2e66 (diff)
downloadNim-3f29911a9496d82c355b84e23d91e992c3ddfce5.tar.gz
new feature: --staticBoundChecks:on to enforce static array index checking (#10965)
Diffstat (limited to 'tests/tools')
-rw-r--r--tests/tools/second.nim6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/tools/second.nim b/tests/tools/second.nim
index 0dbe72adb..ee94af25f 100644
--- a/tests/tools/second.nim
+++ b/tests/tools/second.nim
@@ -1,3 +1,3 @@
-import tables

-

-let dataEx* = {1: 2, 3: 4}.toTable

+import tables
+
+let dataEx* = {1: 2, 3: 4}.toTable