Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Cannot Reproduce
-
Apache FlexJS 0.8.0
-
None
Description
this function doesn't work in 0.8 dev.
<fx:Script> <![CDATA[ function foo():void { var a: Array = new Array("a", "b", "c"); a.removeAt(2); } ]]> </fx:Script>
the code is built to
testlang07dec06.prototype.foo = function() { var /** @type {Array} */ a = new Array("a", "b", "c"); a.removeAt(2); };
but in earlier FlexJS sdk, it was built to
a.splice(2,1);
Attachments
Issue Links
- is duplicated by
-
FLEX-35200 Array.removeAt() is broken in javascript mode in 0.8 dev
- Closed