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
|
|
@ -56,7 +56,7 @@ const
|
|||
ariaAttr* = " role " ## HTML DOM Aria Attributes
|
||||
commonAttr* = coreAttr & eventAttr & ariaAttr ## HTML DOM Common Attributes
|
||||
|
||||
proc getIdent(e: NimNode): string {.compileTime.} =
|
||||
proc getIdent(e: NimNode): string =
|
||||
case e.kind
|
||||
of nnkIdent:
|
||||
result = e.strVal.normalize
|
||||
|
|
@ -75,7 +75,7 @@ proc delete[T](s: var seq[T], attr: T): bool =
|
|||
result = true
|
||||
|
||||
proc xmlCheckedTag*(argsList: NimNode, tag: string, optAttr = "", reqAttr = "",
|
||||
isLeaf = false): NimNode {.compileTime.} =
|
||||
isLeaf = false): NimNode =
|
||||
## use this procedure to define a new XML tag
|
||||
|
||||
# copy the attributes; when iterating over them these lists
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue