flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Harui (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (FLEX-35067) XML literals are not compiled into constructors when the variable was already initialized
Date Mon, 11 Apr 2016 04:54:25 GMT

     [ https://issues.apache.org/jira/browse/FLEX-35067?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alex Harui reassigned FLEX-35067:
---------------------------------

    Assignee: Alex Harui

> 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
>
> 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)

Mime
View raw message