Ast list nodes
This commit is contained in:
@@ -186,7 +186,7 @@ begin
|
||||
// 2. Register parameters (they mask outer variables)
|
||||
// We pass 'nil' as the node because we currently don't box parameters,
|
||||
// but we must ensure Resolve() finds them so we don't accidentally box a shadowed variable.
|
||||
for i := 0 to High(Node.Parameters) do
|
||||
for i := 0 to Node.Parameters.Count - 1 do
|
||||
begin
|
||||
FCurrentScope.Define(Node.Parameters[i].Name, nil);
|
||||
end;
|
||||
|
||||
Reference in New Issue
Block a user