fixes tuple unpacking regression

This commit is contained in:
Andreas Rumpf 2017-04-26 11:10:50 +02:00
commit 920888f382
2 changed files with 3 additions and 1 deletions

View file

@ -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