Get rid of tkUnderscore. Map _ to tkSymbol.
This commit is contained in:
parent
c35fc2bb03
commit
ea505f3613
4 changed files with 9 additions and 13 deletions
|
|
@ -10,6 +10,9 @@ var (x, _, y) = foo()
|
|||
doAssert x == 4
|
||||
doAssert y == 3
|
||||
|
||||
var (a, _, _) = foo()
|
||||
doAssert a == 4
|
||||
|
||||
iterator bar(): tuple[x, y, z: int] =
|
||||
yield (1,2,3)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue