[fpc-pascal] Class var in record breaks pointer cast

Sven Barth pascaldragon at googlemail.com
Fri Feb 6 11:11:03 CET 2026


Martin Frb via fpc-pascal <fpc-pascal at lists.freepascal.org> 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

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20260206/9b4bbac0/attachment.htm>


More information about the fpc-pascal mailing list