try this:
import macros
... # your code here
macro test(n: typed): untyped =
let x = getImpl(n.symbol)
echo x.treeRepr
... # do whatever you like with the x
test(testProc)
- How to obtain parameters and their types of akProc? IronHawk
- Re: How to obtain parameters and their types of akProc? jangko
