[fpc-devel] Sven commit (r34087) breaks casting an object to an interface
juha.manninen62 at gmail.com
Fri Jul 15 12:31:08 CEST 2016
On Fri, Jul 15, 2016 at 12:51 PM, Maciej Izak <hnb.code at gmail.com> wrote:
> constructor TDesignFormData.Create(AForm: TCustomForm);
> FForm := AForm as IDesignedForm; // won't work anymore. FForm is an
I have not studied the context of this code but to me it looks suspicious.
If such a typecast is needed then something is wrong in the code's design.
An obvious idea is to change the AForm's type to IDesignedForm.
My intuition says that Sven's commit only revealed some fishy code in
More information about the fpc-devel