diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2022-10-17 23:48:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-17 23:48:51 +0200 |
commit | 81087c949f620dc80697364da414872791ffe23c (patch) | |
tree | 870c578d221484861f485371ebde2fca18d6ca08 /compiler/ast.nim | |
parent | c0824b9b80f50807fc41b621760c4b685d1d7497 (diff) | |
download | Nim-81087c949f620dc80697364da414872791ffe23c.tar.gz |
fixes #20572 (#20585)
* fixes #20572 * added a test case
Diffstat (limited to 'compiler/ast.nim')
-rw-r--r-- | compiler/ast.nim | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/ast.nim b/compiler/ast.nim index c4c183932..228f7381c 100644 --- a/compiler/ast.nim +++ b/compiler/ast.nim @@ -211,8 +211,7 @@ type nkDistinctTy, # distinct type nkProcTy, # proc type nkIteratorTy, # iterator type - nkSharedTy, # 'shared T' - # we use 'nkPostFix' for the 'not nil' addition + nkSinkAsgn, # '=sink(x, y)' nkEnumTy, # enum body nkEnumFieldDef, # `ident = expr` in an enumeration nkArgList, # argument list |