Ryan Joseph <r...@thealchemistguild.com> schrieb am Di., 23. Apr. 2019, 21:54:
> So I remember now that any fields are not allowed in helpers. Can anyone > explain why this must be the case or if it could be fixed? > A helper can not access its extended type in its interface, only in its implementation (and yes, this gets important if published properties are involved, which a helper may declare as well). Use a getter as a workaround. If you use "inline" chances are high that it will be nearly equal code as if you used a direct access. Regards, Sven >
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal