summary refs log tree commit diff stats
path: root/tests/parser/ttupleunpack.nim
Commit message (Collapse)AuthorAgeFilesLines
* type annotations for variable tuple unpacking, better error messages (#22611)metagn2023-09-011-0/+17
| | | | | | | | | * type annotations for variable tuple unpacking, better error messages closes #17989, closes https://github.com/nim-lang/RFCs/issues/339 * update grammar * fix test
* tuple unpacking for vars as just sugar, allowing nesting (#21563)metagn2023-03-281-0/+48
| | | | | | | | | | | | | | | | | | | * tuple unpacking for vars as just sugar, allowing nesting * set temp symbol AST * hopeful fix some issues, add test for #19364 * always use temp for consts * document, fix small issue * fix manual indentation * actually fix manual * use helper proc * don't resem temp tuple assignment
* require errormsg to be specified before file.Arne Döring2018-12-111-6/+0
|
* cleanups for underscores in tuple unpackingAraq2015-04-241-2/+8
|
* Add sfGenSym for (_).Dominik Picheta2015-04-231-12/+20
|
* Get rid of tkUnderscore. Map _ to tkSymbol.Dominik Picheta2015-04-081-0/+3
|
* Implements #2154.Dominik Picheta2015-03-311-0/+18
When unpacking tuples in var/let declarations a part of the tuple can now be discarded using a single underscore.