fixes tuple unpacking regression
This commit is contained in:
parent
2da66fef77
commit
920888f382
2 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue