diff --git a/lib/core/macros.nim b/lib/core/macros.nim index aa42691017..f3bca3af8c 100644 --- a/lib/core/macros.nim +++ b/lib/core/macros.nim @@ -462,7 +462,7 @@ proc newIdentNode*(i: NimIdent): NimNode {.compileTime, deprecated.} = {.pop.} -proc newIdentNode*(i: string): NimNode {.magic: "StrToIdent", noSideEffect, compilerproc.} +proc newIdentNode*(i: string): NimNode {.magic: "StrToIdent", noSideEffect.} ## Creates an identifier node from `i`. It is simply an alias for ## ``ident(string)``. Use that, it's shorter.