> Use getTypeInst instead of getType. Both are in macros module.

Yes, that is exactly what I need.

I read the doc comment in macros module some monts ago:
    
    
    proc getTypeInst(n: NimNode): NimNode {..}
    
    #Like getType except it includes generic parameters for a specific instance
    

But it was not really obvious for me...

Reply via email to