That feature sounds fine to me.

On Thu, Mar 17, 2016 at 8:58 PM, Alex Harui <[email protected]> wrote:

> Hi,
>
> As I've been trying to get FlexJS to compile Flex code, there are some
> pain points.  One is the parent property of UI widgets.
>
> In IUIBase.as, we want the parent to be another IUIBase
>
>     function get parent():IUIBase
>
> But the Flex SDK is expecting a DisplayObjectContainer.
>     override function get parent():DisplayObjectContainer
>
> The migration cost of changing all uses of DisplayObjectContainer to
> IUIBase is daunting, so I've been pondering having the FalconJX compiler
> allow an overridden type to extend or implement the base class's type.
>
> What would go bad if we allowed that?
>
> Thanks,
> -Alex
>
>

Reply via email to