Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
var child:XML = <pop><child name="Sam"/></pop>;
xml1.appendChild(child);
child = <pop><child name="George"/></pop>;
xml1.appendChild(child);
compiles into:
var /** @type
*/ child = new XML( '<pop><child name="Sam"/></pop>') ;
xml1.appendChild(child);
child = '<pop><child name="George"/></pop>';
xml1.appendChild(child);