remove compilerproc from newIdentNode (#14692)

This commit is contained in:
Timothee Cour 2020-06-16 23:10:34 -07:00 • committed by GitHub
commit 8619534293
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -462,7 +462,7 @@ proc newIdentNode*(i: NimIdent): NimNode {.compileTime, deprecated.} =
{.pop.} {.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 ## Creates an identifier node from `i`. It is simply an alias for
## ``ident(string)``. Use that, it's shorter. ## ``ident(string)``. Use that, it's shorter.