This commit is contained in:
ringabout
2026-04-17 19:10:26 +08:00
parent 7867200135
commit 790df938d7

View File

@@ -511,6 +511,7 @@ proc semAfterMacroCall(c: PContext, call, macroResult: PNode,
result = newSymNode(errorSym(c, result))
else:
result.typ = makeTypeDesc(c, typ)
#result = symNodeFromType(c, typ, n.info)
else:
if s.ast[genericParamsPos] != nil and retType.isMetaType:
# The return type may depend on the Macro arguments