diff options
author | Timothee Cour <timothee.cour2@gmail.com> | 2021-03-23 02:51:21 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-23 02:51:21 -0700 |
commit | c27cd83265558195316e0d3b6d13ccadcaecc728 (patch) | |
tree | aa94c32ef7f9e5d1c094f94eef8ca1d4818db6a5 /lib/pure/htmlgen.nim | |
parent | c719d79d232c1dc8d878b0799e1011519652016f (diff) | |
download | Nim-c27cd83265558195316e0d3b6d13ccadcaecc728.tar.gz |
remove {.compileTime.} for procs with NimNode: redundant because of tfTriggersCompileTime (#17463)
Diffstat (limited to 'lib/pure/htmlgen.nim')
-rw-r--r-- | lib/pure/htmlgen.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pure/htmlgen.nim b/lib/pure/htmlgen.nim index 04b1c5202..163f9303b 100644 --- a/lib/pure/htmlgen.nim +++ b/lib/pure/htmlgen.nim @@ -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 |