summary refs log tree commit diff stats
path: root/lib/pure/htmlgen.nim
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2021-03-23 02:51:21 -0700
committerGitHub <noreply@github.com>2021-03-23 02:51:21 -0700
commitc27cd83265558195316e0d3b6d13ccadcaecc728 (patch)
treeaa94c32ef7f9e5d1c094f94eef8ca1d4818db6a5 /lib/pure/htmlgen.nim
parentc719d79d232c1dc8d878b0799e1011519652016f (diff)
downloadNim-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.nim4
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