[fpc-devel] Published record
Mattias Gaertner
nc-gaertnma at netcologne.de
Thu Aug 15 15:33:25 CEST 2024
Hi,
What is the state of published record in fpc trunk?
The structures in typinfo.pp seems to be pretty complete, but fpc complains:
unit1.pas(42,24) Error: This kind of property cannot be published
{$mode delphi}
interface
uses Classes, TypInfo;
type
TMyRec = record
x,y: integer;
end;
TTest = class(TPersistent)
private
FRec: TMyRec;
published
property Rec: TMyRec read FRec;
end;
Mattias
More information about the fpc-devel
mailing list