The `getAst` template gets expanded before `getAst` is called for generic proc. 
This may be a bug. Is there any reason you want to pass the arg as a `typedesc` 
instead of plain `NimNode`? If not, the signature `proc gen(T: NimNode): 
NimNode` should work.

Reply via email to