Refactoring

This commit is contained in:
Michael Schimmel
2025-11-05 13:48:10 +01:00
parent c0a689d2bc
commit 218bd9f506
4 changed files with 25 additions and 25 deletions
+1 -1
View File
@@ -246,7 +246,7 @@ begin
Result := Node
else
// Rebuild, preserving the original CallNode metadata
Result := TMacroExpansionNode.Create(Node.CallNode, newBody.AsTypedNode);
Result := TAst.MacroExpansionNode(Node.CallNode, newBody);
end;
function TAstTCO.VisitFunctionCall(const Node: IFunctionCallNode): IAstNode;