You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Christofer Dutz (JIRA)" <ji...@apache.org> on 2015/05/27 11:49:17 UTC

[jira] [Commented] (FLEX-34857) Adding an id to a fx:Vector when using -keep compiler argument results in a compiler error

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

Christofer Dutz commented on FLEX-34857:
----------------------------------------

Does this actually also address the problem I encountered a few days ago in which the usage of TabbedViewNavigatorApplication results in a compiler error ("Type was not found or was not a compile-time constant: ViewNavigatorBase") as soon as -keep-generated-actionscript is enabled? which seems to be related to the Vector usage in TabbedViewNavigatorApplication.

> Adding an id to a fx:Vector when using -keep compiler argument results in a compiler error
> ------------------------------------------------------------------------------------------
>
>                 Key: FLEX-34857
>                 URL: https://issues.apache.org/jira/browse/FLEX-34857
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: MXML Compiler
>    Affects Versions: Apache Flex 4.14.1
>            Reporter: Josh Tynjala
>             Fix For: Apache Flex 4.15.0
>
>
> The wrong class is imported in the generated code for the bindable property. It imports __AS3__.vec.Vector.<T> without properly splitting out the T.
>  getMultiName() in flex2.compiler.as3.binding.Info doesn't treat __AS3__.vec.Vector.<T> the same as __AS3__.vec:Vector.<T>, causing it to return the wrong namespace and class name.



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