[fpc-devel] Sven commit (r34087) breaks casting an object to an interface
hnb.code at gmail.com
Fri Jul 15 13:22:22 CEST 2016
2016-07-15 13:10 GMT+02:00 Juha Manninen <juha.manninen62 at gmail.com>:
> Code design is another issue which should not be mixed here, although
> I still think there is something fishy in that specific use case. It
> could be implemented differently.
Change for the AForm's type to IDesignedForm is impossible in mentioned
context. IDesignedForm means not only "TForm" but is used also to handle
forms for TFrame and TDataModule. IDesignedForm is way to unify usage of
TForm (which directly exist as form) and "form containers" for
TFrame/TDataModule. Nothing wrong with that. Normal code -,- .
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-devel