[fpc-pascal] Class var in record breaks pointer cast
Hairy Pixels
genericptr at gmail.com
Thu Feb 5 16:00:48 CET 2026
On Feb 5, 2026 at 9:54:04 PM, Martin Frb via fpc-pascal <
fpc-pascal at lists.freepascal.org> wrote:
> type
> TMyRec = record
> class var
> z: UInt32;
> var // new section, normal fields // tested 3.3.1
> x, y: UInt32;
> end;
>
oh it was a parsing issue, good find, thanks. For some reason I thought
"class" could only contain one list of names.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20260205/eb4afd71/attachment.htm>
More information about the fpc-pascal
mailing list