Const tuple unpacking (#9964)
* tuple unpacking is now supported for consts * Move nkConstTuple to the end of TNodeKind * Add nnkConstTuple in macros.nim * Fix Formatting
This commit is contained in:
parent
3f917c8d91
commit
8e90ed0618
4 changed files with 77 additions and 31 deletions
|
|
@ -81,7 +81,8 @@ type
|
|||
nnkState,
|
||||
nnkBreakState,
|
||||
nnkFuncDef,
|
||||
nnkTupleConstr
|
||||
nnkTupleConstr,
|
||||
nnkConstTuple
|
||||
|
||||
NimNodeKinds* = set[NimNodeKind]
|
||||
NimTypeKind* = enum # some types are no longer used, see ast.nim
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue