ITupleNode signature change
This commit is contained in:
@@ -162,11 +162,14 @@ begin
|
||||
funcName := calleeIdent.Name;
|
||||
|
||||
// 3. Check if all argument types are statically known
|
||||
// Optimization: Use Elements array directly
|
||||
var argsElements := newArgs.Elements;
|
||||
allTypesKnown := True;
|
||||
SetLength(argTypes, newArgs.Count);
|
||||
for i := 0 to newArgs.Count - 1 do
|
||||
SetLength(argTypes, Length(argsElements));
|
||||
|
||||
for i := 0 to High(argsElements) do
|
||||
begin
|
||||
argTypes[i] := newArgs.Items[i].AsTypedNode.StaticType;
|
||||
argTypes[i] := argsElements[i].AsTypedNode.StaticType;
|
||||
if argTypes[i].Kind = stUnknown then
|
||||
begin
|
||||
allTypesKnown := False;
|
||||
|
||||
Reference in New Issue
Block a user