flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yishay Weiss (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-35168) [FlexJS] TextFieldItemRenderer does not implement IUIBase
Date Tue, 08 Nov 2016 17:53:58 GMT

    [ https://issues.apache.org/jira/browse/FLEX-35168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15648260#comment-15648260
] 

Yishay Weiss commented on FLEX-35168:
-------------------------------------

I updated, cleaned and re-ran and there's no error. I'm still not clear about this, though.
The compiler error seems right to me because TextFieldItemRenderer impelemnts IChild which
has:

function get parent():org.apache.flex.core.IParent;

It also extends CSSTextField which extends flash.text.TextField which ultimately extends DisplayObject

DisplayObject,parent returns a DisplayObjectContainer which is not an IParent. So the compiler
error is correct, in my opinion. 

It looks like the build somehow skips TextFieldItemRenderer altogether.

> [FlexJS] TextFieldItemRenderer does not implement IUIBase
> ---------------------------------------------------------
>
>                 Key: FLEX-35168
>                 URL: https://issues.apache.org/jira/browse/FLEX-35168
>             Project: Apache Flex
>          Issue Type: Bug
>            Reporter: Yishay Weiss
>              Labels: sprite-refactor
>
> If I set it to implement it there's a conflict in IChild.parent() implementation and
the swf compilation fails.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message