diff options
Diffstat (limited to 'tests/constr/tconstr1.nim')
-rw-r--r-- | tests/constr/tconstr1.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/constr/tconstr1.nim b/tests/constr/tconstr1.nim index 28431287c..b9cf5d00b 100644 --- a/tests/constr/tconstr1.nim +++ b/tests/constr/tconstr1.nim @@ -14,13 +14,13 @@ type proc testSem = var - things: array [0..1, TComplexRecord] = [ + things: array[0..1, TComplexRecord] = [ (s: "hi", x: 69, y: 45, z: 0.0, chars: {'a', 'b', 'c'}), (s: "hi", x: 69, y: 45, z: 1.0, chars: {'a', 'b', 'c'})] write(stdout, things[0].x) const - things: array [0..1, TComplexRecord] = [ + things: array[0..1, TComplexRecord] = [ (s: "hi", x: 69, y: 45, z: 0.0, chars: {'a', 'b', 'c'}), (s: "hi", x: 69, y: 45, z: 1.0)] #ERROR otherThings = [ # the same |