attempt to fix tunidecode test; GC cares for seq->openArray conversions

This commit is contained in:
Araq 2011-11-21 01:33:18 +01:00
commit c8dda8cc6f
5 changed files with 982 additions and 947 deletions

View file

@ -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"