OH MY GOD! I just discovered the forum has a _Run_ button, and it actually does what you expect! What kind of _sorcery_ is that?
I also tried this, with no luck:
proc test4*(name: static[cstring]) = # OK
echo(name) # OK
proc test4*(T: static[typedesc]) = test4(T.name) # OK
test4(int) # ERROR
