diff options
-rw-r--r-- | lib/core/macros.nim | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/core/macros.nim b/lib/core/macros.nim index 2196a42be..3286d7861 100644 --- a/lib/core/macros.nim +++ b/lib/core/macros.nim @@ -1210,8 +1210,7 @@ const nnkIteratorDef, nnkTemplateDef, nnkConverterDef, nnkMacroDef} AtomicNodes* = {nnkNone..nnkNilLit} # see matching set nnkCallKinds above - CallNodes* = {nnkCall, nnkInfix, nnkPrefix, nnkPostfix, nnkCommand, - nnkCallStrLit, nnkHiddenCallConv} + CallNodes* = nnkCallKinds proc expectKind*(n: NimNode; k: set[NimNodeKind]) = ## Checks that `n` is of kind `k`. If this is not the case, |