Open tsoj opened 2 years ago
Probably related #19670
Edit: Doesn't seem so, #19670 works now but this doesn't, and #19670's problem is with subscript expressions in templates which aren't present here
Works if you generate a new ident symbol every time for underlyingTypeSymbol
A macro generating a function fails with
got: <S> but expected: <T>
.Example
Current Output
Expected Output
It should compile.
Additional Information
Workaround
A workaround is to copy the offending NimNode at usage: