Pan Li created FLEX-35199: ----------------------------- Summary: Array.removeAt() is broken in javascript mode in 0.8 dev Key: FLEX-35199 URL: https://issues.apache.org/jira/browse/FLEX-35199 Project: Apache Flex Issue Type: Bug Components: FlexJS Affects Versions: Apache FlexJS 0.8.0 Reporter: Pan Li Priority: Blocker
this function doesn't work in 0.8 dev. {code} <fx:Script> <![CDATA[ function foo():void { var a: Array = new Array("a", "b", "c"); a.removeAt(2); } ]]> </fx:Script> {code} the code is built to {code} testlang07dec06.prototype.foo = function() { var /** @type {Array} */ a = new Array("a", "b", "c"); a.removeAt(2); }; {code} but in earlier FlexJS sdk, it was built to a.splice(2,1); -- This message was sent by Atlassian JIRA (v6.3.4#6332)