[
https://issues.apache.org/jira/browse/FLEX-35203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15761808#comment-15761808
]
Alex Harui commented on FLEX-35203:
-----------------------------------
Is the build output from Moonshine launching the compiler or from the
command-line? I don't get the goog warning in my output from the command-line
and things work fine. Please test from the command-line so we can see all
options being passed to the compiler. The output posted above makes me think
that the XML class is seen as external for some reason.
> XML() class is broken javascript mode in 0.8 dev
> ------------------------------------------------
>
> Key: FLEX-35203
> URL: https://issues.apache.org/jira/browse/FLEX-35203
> Project: Apache Flex
> Issue Type: Bug
> Components: FlexJS
> Affects Versions: Apache FlexJS 0.7.0, Apache FlexJS 0.8.0
> Reporter: Pan Li
> Assignee: Alex Harui
> Fix For: Apache FlexJS 0.8.0
>
> Attachments: Test1.js, XMLError.png
>
>
> {code}
> <fx:Script>
> <![CDATA[
>
> var foo : XML = new XML();
>
> ]]>
> </fx:Script>
> {code}
> above code result in runtime javascript error
> Uncaught ReferenceError: XML is not defined
> the same code works in swf mode
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)