Re: [fpc-pascal] Compiler treatment of dotted reference in class property

2020-02-03 Thread Howard Page-Clark via fpc-pascal
On 03/02/2020 13:17, Sven Barth via fpc-pascal wrote: Howard Page-Clark via fpc-pascal > schrieb am Mo., 3. Feb. 2020, 11:22: FPC 3.0.4 compiles this code excerpt without a murmur: == code == {$mode objfpc}{$H+} type    TSheetInfo

Re: [fpc-pascal] Compiler treatment of dotted reference in class property

2020-02-03 Thread Sven Barth via fpc-pascal
Howard Page-Clark via fpc-pascal schrieb am Mo., 3. Feb. 2020, 11:22: > FPC 3.0.4 compiles this code excerpt without a murmur: > > == code == > > {$mode objfpc}{$H+} > > type > >TSheetInfo = record > name: String; > tab: String; > title: String; > kind: TSheetKind; // an

[fpc-pascal] Compiler treatment of dotted reference in class property

2020-02-03 Thread Howard Page-Clark via fpc-pascal
FPC 3.0.4 compiles this code excerpt without a murmur: == code == {$mode objfpc}{$H+} type   TSheetInfo = record     name: String;     tab: String;     title: String;     kind: TSheetKind; // an enumeration     color: TColor;   end;   TBaseSheet = class(TTabSheet)   protected     FSheetInfo: