attempt to fix tunidecode test; GC cares for seq->openArray conversions
This commit is contained in:
parent
04e5c6718e
commit
c8dda8cc6f
5 changed files with 982 additions and 947 deletions
|
|
@ -10,9 +10,7 @@ template simpleTypeTempl: typeDesc =
|
|||
string
|
||||
|
||||
macro typeFromMacro(s: expr): typeDesc =
|
||||
result = newNimNode(nnkIdent)
|
||||
result.ident = !"string"
|
||||
# result = newIdentNode"string"
|
||||
result = newIdentNode"string"
|
||||
|
||||
proc t1*(x: int): simpleTypeTempl() =
|
||||
result = "test"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue