diff options
Diffstat (limited to 'lib/core')
-rw-r--r-- | lib/core/macros.nim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/core/macros.nim b/lib/core/macros.nim index 79195966e..3801adfc5 100644 --- a/lib/core/macros.nim +++ b/lib/core/macros.nim @@ -252,6 +252,10 @@ else: # bootstrapping substitute else: n.strValOld +when defined(nimSymImplTransform): + proc getImplTransformed*(symbol: NimNode): NimNode {.magic: "GetImplTransf", noSideEffect.} + ## for a typed proc returns the AST after transformation pass + when defined(nimHasSymOwnerInMacro): proc owner*(sym: NimNode): NimNode {.magic: "SymOwner", noSideEffect.} ## accepts node of kind nnkSym and returns its owner's symbol. |