diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2017-04-26 11:10:50 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2017-04-26 11:10:50 +0200 |
commit | 920888f3821821667de0202b4a1a2ac5f08a9735 (patch) | |
tree | 690e79b743c11095f8bf06c19e078b486646f8c8 /tests | |
parent | 2da66fef7729ad3fcd37510ff173515bce0d7040 (diff) | |
download | Nim-920888f3821821667de0202b4a1a2ac5f08a9735.tar.gz |
fixes tuple unpacking regression
Diffstat (limited to 'tests')
-rw-r--r-- | tests/tuples/tunpack_asgn.nim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/tuples/tunpack_asgn.nim b/tests/tuples/tunpack_asgn.nim index a48fcff5d..1dc7ff074 100644 --- a/tests/tuples/tunpack_asgn.nim +++ b/tests/tuples/tunpack_asgn.nim @@ -21,6 +21,8 @@ proc pg[T](x, y: var T) = # test as a top level statement: var x, y, a, b: int +# test for regression: +(x, y) = (1, 2) (x, y) = fooBar() echo x, " ", y |