Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 2D8AB200BFE for ; Mon, 12 Dec 2016 03:31:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 2BF44160B20; Mon, 12 Dec 2016 02:31:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 9A42A160B2C for ; Mon, 12 Dec 2016 03:30:59 +0100 (CET) Received: (qmail 66216 invoked by uid 500); 12 Dec 2016 02:30:58 -0000 Mailing-List: contact issues-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list issues@flex.apache.org Received: (qmail 65801 invoked by uid 99); 12 Dec 2016 02:30:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Dec 2016 02:30:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 79A322C03E2 for ; Mon, 12 Dec 2016 02:30:58 +0000 (UTC) Date: Mon, 12 Dec 2016 02:30:58 +0000 (UTC) From: "Pan Li (JIRA)" To: issues@flex.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (FLEX-35199) Array.removeAt() is broken in javascript mode in 0.8 dev MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 12 Dec 2016 02:31:00 -0000 [ https://issues.apache.org/jira/browse/FLEX-35199?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pan Li closed FLEX-35199. ------------------------- > 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} > > function foo():void > { > var a: Array = new Array("a", "b", "c"); > a.removeAt(2); > } > > ]]> > > {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)