Re: Class var in record breaks pointer cast

Sven Barth via fpc-pascal <[email protected]> Fri, 6 Feb 2026 11:11:03 +0100
Newsgroups gmane.comp.compilers.free-pascal.general
Message-ID <CAFMUeB8U_fCA9C0WFR+DNR_xB1NO6H=c33fjXgzmV6dW=6UReA@mail.gmail.com>
Martin Frb via fpc-pascal <[email protected]> schrieb am Do.,
5. Feb. 2026, 15:54:

> On 05/02/2026 15:45, Martin Frb via fpc-pascal wrote:
> "class var" seems to start a section, like "public type"
>

It not only seems so, it *is* so.

While it's not explicitly me mentioned for records it is somewhat mentioned
for classes:
https://www.freepascal.org/docs-html/current/ref/refsu24.html#x74-980006.3.2

Regards,
Sven

>

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