You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Alex Harui (JIRA)" <ji...@apache.org> on 2016/04/11 06:54:25 UTC

[jira] [Assigned] (FLEX-35067) XML literals are not compiled into constructors when the variable was already initialized

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