To select a specific overload you can use a type conversion: proc p(a: int) = echo "int" proc p(a: string) = echo "string" (proc (a: string) {.nimcall.})(p)("a") Run
- Is there no way to pass a specific overload to a macro? treeform
- Is there no way to pass a specific overload to a macro? Araq