[fpc-devel] Delphi compatible?

Martin Frb lazarus at mfriebe.de
Tue Nov 17 11:18:05 CET 2026


Could someone please check in Delphi?

Are the below supposed to be assignment compatible?
(same for "set of")


program Project1;
{$Mode delphi}
type
   TEnumA = (a1,a2,a3);
   TEnumB = type TEnumA;
var
   a: TEnumA;
   b: TEnumB;
begin
   a := b;
   b := a;
end.



More information about the fpc-devel mailing list