> It works when the macro parameter is untyped,

thanks @rpowers and @mashingan, using untyped instead of typed works (but I was 
using typed because of your other answer from 
[https://forum.nim-lang.org/t/3701/1#23070](https://forum.nim-lang.org/t/3701/1#23070)
 to allow if x.getTypeInst.typeKind != ntyVoid: to make it work on empty 
arguments; I guess I need further processing to have both unmodified source AST 
and allow for void typed arguments)

Reply via email to