summary refs log tree commit diff stats
path: root/lib/core
diff options
context:
space:
mode:
authorArne Döring <arne.doering@gmx.net>2020-03-03 12:42:43 +0100
committerGitHub <noreply@github.com>2020-03-03 12:42:43 +0100
commiteb42f38088d278d396855e7e284ea798c8a884f7 (patch)
treef472407f39f2f94ed21f18b629e51dd3d73de09f /lib/core
parent31332bca450c8b681802802e06342353abf9dd20 (diff)
downloadNim-eb42f38088d278d396855e7e284ea798c8a884f7.tar.gz
Remove dead magics (#13551)
Diffstat (limited to 'lib/core')
-rw-r--r--lib/core/macros.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/core/macros.nim b/lib/core/macros.nim
index 31e133090..cc20f1dac 100644
--- a/lib/core/macros.nim
+++ b/lib/core/macros.nim
@@ -1458,7 +1458,7 @@ proc boolVal*(n: NimNode): bool {.compileTime, noSideEffect.} =
   else: n == bindSym"true" # hacky solution for now
 
 when defined(nimMacrosGetNodeId):
-  proc nodeID*(n: NimNode): int {.magic: NodeId.}
+  proc nodeID*(n: NimNode): int {.magic: "NodeId".}
     ## Returns the id of ``n``, when the compiler has been compiled
     ## with the flag ``-d:useNodeids``, otherwise returns ``-1``. This
     ## proc is for the purpose to debug the compiler only.