Fix in Recur Node declaration
This commit is contained in:
@@ -157,7 +157,6 @@ type
|
||||
private
|
||||
FArguments: TArray<IAstNode>;
|
||||
function GetArguments: TArray<IAstNode>;
|
||||
function GetIsTailCall: Boolean;
|
||||
public
|
||||
constructor Create(const AArguments: TArray<IAstNode>);
|
||||
function Accept(const Visitor: IAstVisitor): TDataValue; override;
|
||||
@@ -472,12 +471,6 @@ begin
|
||||
Result := FArguments;
|
||||
end;
|
||||
|
||||
function TRecurNode.GetIsTailCall: Boolean;
|
||||
begin
|
||||
// 'recur' is always a tail call by definition.
|
||||
Result := True;
|
||||
end;
|
||||
|
||||
{ TBlockExpressionNode }
|
||||
|
||||
constructor TBlockExpressionNode.Create(const AExpressions: array of IAstNode);
|
||||
|
||||
Reference in New Issue
Block a user