I think your third example should work if you `import typetraits`.
Actually let's test the forum feature...
import typetraits
proc test3*(T: typedesc) =
echo(T.name)
test3(int)
I think your third example should work if you `import typetraits`.
Actually let's test the forum feature...
import typetraits
proc test3*(T: typedesc) =
echo(T.name)
test3(int)