mirror of
https://github.com/nim-lang/Nim.git
synced 2026-06-07 04:14:19 +00:00
Get rid of tkUnderscore. Map _ to tkSymbol.
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user