[fpc-devel] generics syntax question
Sven Barth
pascaldragon at googlemail.com
Sat Nov 29 22:54:34 CET 2025
Martin Frb via fpc-devel <fpc-devel at lists.freepascal.org> schrieb am Sa.,
29. Nov. 2025, 20:24:
> It is possible in const (anywhere where a const can be given, not just
> const blocks) to be able to:
> - access values inside structures
> - take the address of a field.
>
> That also works for types created by specialisation. But only if they
> are specialized to a new named type.
>
> specialization can also (in most places) be used "in place".
>
> Are the below errors
> - intentional, and meant to stay
> - result of an oversight (and fixed, or considered for being fixed if
> ever time allows for it)
> ?
>
The later, please report.
Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20251129/2c9b00bb/attachment.htm>
More information about the fpc-devel
mailing list