remove compilerproc from newIdentNode (#14692)

This commit is contained in:
Timothee Cour
2020-06-16 23:10:34 -07:00
committed by GitHub
parent 15a45e8e73
commit 8619534293

View File

@@ -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.