You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
Why are "Anonymous record" not compatible with "Variant"? I tried to use CodeGen from dws program bellow:
program Test;
type TFunc = function(y: integer): integer;
procedure DoSomething(func: TFunc);
begin
end;
begin
var t, y: variant;
t := record
name = 8;
height = 10;
size: record
name = 'tool';
end;
end;
DoSomething(lambda(y) => y+1);
y.name := 7;
t := y;
end.
The output is: there are former version of DWS that allow it.
Regards,
The text was updated successfully, but these errors were encountered:
Hello,
Why are "Anonymous record" not compatible with "Variant"? I tried to use CodeGen from dws program bellow:
The output is: there are former version of DWS that allow it.
Regards,
The text was updated successfully, but these errors were encountered: