Re: Class var in record breaks pointer cast

Hairy Pixels via fpc-pascal <[email protected]> Thu, 5 Feb 2026 07:00:48 -0800
Newsgroups gmane.comp.compilers.free-pascal.general
Message-ID <CAGsUGtkr+vx3U7GCg+erUB3UibWUu2fYiYPFLwjOm83JTgKRKw@mail.gmail.com>
 On Feb 5, 2026 at 9:54:04 PM, Martin Frb via fpc-pascal <
[email protected]> 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.

_______________________________________________
fpc-pascal maillist  -  [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal