AST function purity analysis
This commit is contained in:
@@ -400,7 +400,8 @@ begin
|
||||
end;
|
||||
|
||||
// 9. Create new node with the Descriptor attached!
|
||||
Result := TAst.LambdaExpr(newParams, newBody, Node.Layout, finalDescriptor, Node.Upvalues, Node.HasNestedLambdas, methodType);
|
||||
Result :=
|
||||
TAst.LambdaExpr(newParams, newBody, Node.Layout, finalDescriptor, Node.Upvalues, Node.HasNestedLambdas, Node.IsPure, methodType);
|
||||
end;
|
||||
|
||||
function TTypeChecker.VisitFunctionCall(const Node: IFunctionCallNode): IAstNode;
|
||||
|
||||
Reference in New Issue
Block a user