> Is there a way to get the module name of the passed object?
maybe something like:
proc getTypeOwner(x: NimNode): string =
result = x.getTypeInst.owner.strVal
Run
> Is there a way to get the module name of the passed object?
maybe something like:
proc getTypeOwner(x: NimNode): string =
result = x.getTypeInst.owner.strVal
Run