diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2020-01-14 09:56:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-14 09:56:08 +0100 |
commit | d56848878cecda9a6fc88edfb8f7ae5da70f47c1 (patch) | |
tree | dcfc9fd347edfcefca7143fbf693ecb857c6e2d8 /tests/js | |
parent | 49d1822c8f1cfd418e978a5c9c58343369d9f956 (diff) | |
download | Nim-d56848878cecda9a6fc88edfb8f7ae5da70f47c1.tar.gz |
fixes #13119 (#13128)
* fixes #13119 * fixes a regression
Diffstat (limited to 'tests/js')
-rw-r--r-- | tests/js/tcopying.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/js/tcopying.nim b/tests/js/tcopying.nim index c58a080e9..1f668be52 100644 --- a/tests/js/tcopying.nim +++ b/tests/js/tcopying.nim @@ -14,7 +14,7 @@ type MyArray = array[1, int] proc changeArray(a: var MyArray) = a = [123] -var a : MyArray +var a: MyArray changeArray(a) echo a[0] @@ -34,7 +34,7 @@ block: ary2: array[3, int] let ary1 = [1, 2, 3] - var obj = TestObj(ary2:ary1) + var obj = TestObj(ary2: ary1) obj.ary2[1] = 9 |