[ https://issues.apache.org/jira/browse/FLEX-35067?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alex Harui resolved FLEX-35067. ------------------------------- Resolution: Fixed Fix Version/s: Apache FalconJX 0.7.0 2135f681de50082ea6d626003b8321eaa9689187 > XML literals are not compiled into constructors when the variable was already > initialized > ----------------------------------------------------------------------------------------- > > Key: FLEX-35067 > URL: https://issues.apache.org/jira/browse/FLEX-35067 > Project: Apache Flex > Issue Type: Bug > Components: FalconJX > Reporter: Harbs > Assignee: Alex Harui > Fix For: Apache FalconJX 0.7.0 > > > var child:XML = <pop><child name="Sam"/></pop>; > xml1.appendChild(child); > child = <pop><child name="George"/></pop>; > xml1.appendChild(child); > compiles into: > var /** @type {XML} */ child = new XML( '<pop><child name="Sam"/></pop>') ; > xml1.appendChild(child); > child = '<pop><child name="George"/></pop>'; > xml1.appendChild(child); -- This message was sent by Atlassian JIRA (v6.3.4#6332)