[ https://issues.apache.org/jira/browse/FLEX-35199?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alex Harui resolved FLEX-35199. ------------------------------- Resolution: Cannot Reproduce Fix Version/s: Apache FalconJX 0.8.0 Use of Array.removeAt/insertAt requires an SDK with Flash/AIR 19 or greater. Please verify that you have used the correct Flash/AIR version. > 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 > Fix For: Apache FalconJX 0.8.0 > > > 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)