remove {.compileTime.} for procs with NimNode: redundant because of tfTriggersCompileTime (#17463)
This commit is contained in:
parent
c719d79d23
commit
c27cd83265
6 changed files with 106 additions and 112 deletions
|
|
@ -744,7 +744,7 @@ proc findAll*(n: XmlNode, tag: string, caseInsensitive = false): seq[XmlNode] =
|
|||
newSeq(result, 0)
|
||||
findAll(n, tag, result, caseInsensitive)
|
||||
|
||||
proc xmlConstructor(a: NimNode): NimNode {.compileTime.} =
|
||||
proc xmlConstructor(a: NimNode): NimNode =
|
||||
if a.kind == nnkCall:
|
||||
result = newCall("newXmlTree", toStrLit(a[0]))
|
||||
var attrs = newNimNode(nnkBracket, a)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue