So I remember now that any fields are not allowed in helpers. Can anyone explain why this must be the case or if it could be fixed?
> On Apr 20, 2019, at 11:24 AM, Ryan Joseph <r...@thealchemistguild.com> wrote: > > I feel like I may have asked this before but I can’t find anything on Google. > Why doesn’t this work? > > program test; > > type > TRec = record > x: integer; > end; > > type > THelper = record helper for TRec > property F: integer read x; // <<<—— ERROR: Unknown class field > or method identifier "x" > end; > > begin > end. Regards, Ryan Joseph _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal