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
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to