[fpc-devel] Sven commit (r34087) breaks casting an object to an interface

Maciej Izak hnb.code at gmail.com
Fri Jul 15 11:51:48 CEST 2016


Hi,

change in mentioned FPC trunk r34087 totally breaks sparta dockedformeditor
package (and probably many other things) see:

http://forum.lazarus.freepascal.org/index.php/topic,27211.msg216064.html#msg216064
http://bugs.freepascal.org/view.php?id=30377

please revert mentioned commit (what is sense for such change?).

For example problem exist in sparta_MainIDE.pas module:

=== code begin ===
constructor TDesignFormData.Create(AForm: TCustomForm);
begin
  FForm := AForm as IDesignedForm; // won't work anymore. FForm is an
interface
=== code end ===

-- 
Best regards,
Maciej Izak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20160715/9b554726/attachment.html>


More information about the fpc-devel mailing list