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 /lib | |
parent | c0824b9b80f50807fc41b621760c4b685d1d7497 (diff) | |
download | Nim-81087c949f620dc80697364da414872791ffe23c.tar.gz |
fixes #20572 (#20585)
* fixes #20572 * added a test case
Diffstat (limited to 'lib')
-rw-r--r-- | lib/core/macros.nim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/core/macros.nim b/lib/core/macros.nim index d09ea2fe2..b26264405 100644 --- a/lib/core/macros.nim +++ b/lib/core/macros.nim @@ -79,7 +79,7 @@ type nnkDistinctTy, nnkProcTy, nnkIteratorTy, # iterator type - nnkSharedTy, # 'shared T' + nnkSinkAsgn, nnkEnumTy, nnkEnumFieldDef, nnkArgList, nnkPattern @@ -127,6 +127,7 @@ type const nnkMutableTy* {.deprecated.} = nnkOutTy + nnkSharedTy* {.deprecated.} = nnkSinkAsgn type NimIdent* {.deprecated.} = object of RootObj |