fix deprecation warnings in asyncmacro and htmlgen (#7573)
* fix deprecation warnings in asyncmacro and htmlgen * removed todo
This commit is contained in:
parent
19aad4f547
commit
84982e5e17
2 changed files with 22 additions and 21 deletions
|
|
@ -38,7 +38,8 @@ const
|
|||
|
||||
proc getIdent(e: NimNode): string {.compileTime.} =
|
||||
case e.kind
|
||||
of nnkIdent: result = normalize($e.ident)
|
||||
of nnkIdent:
|
||||
result = e.strVal.normalize
|
||||
of nnkAccQuoted:
|
||||
result = getIdent(e[0])
|
||||
for i in 1 .. e.len-1:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue