Return-Path: X-Original-To: apmail-flex-issues-archive@minotaur.apache.org Delivered-To: apmail-flex-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4643110844 for ; Wed, 13 Nov 2013 18:45:22 +0000 (UTC) Received: (qmail 86334 invoked by uid 500); 13 Nov 2013 18:45:22 -0000 Delivered-To: apmail-flex-issues-archive@flex.apache.org Received: (qmail 86305 invoked by uid 500); 13 Nov 2013 18:45:22 -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 86298 invoked by uid 99); 13 Nov 2013 18:45:22 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Nov 2013 18:45:22 +0000 Date: Wed, 13 Nov 2013 18:45:22 +0000 (UTC) From: "Erik de Bruin (JIRA)" To: issues@flex.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FLEX-33887) "super" not converted to goog.base call when used in customer setter MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FLEX-33887?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13821663#comment-13821663 ] Erik de Bruin commented on FLEX-33887: -------------------------------------- You're right. It's easy to get lost in all the wrappers the various 'TestBase' classes have available. I'll just create a small test 'project' and see what that gives us. > "super" not converted to goog.base call when used in customer setter > -------------------------------------------------------------------- > > Key: FLEX-33887 > URL: https://issues.apache.org/jira/browse/FLEX-33887 > Project: Apache Flex > Issue Type: Bug > Components: FlexJS > Environment: Mac OS X > Reporter: Peter Ent > Assignee: Erik de Bruin > Labels: compiler > > I created a custom ActionScript class extending org.apache.flex.html.staticControls.supportClasses.DataItemRenderer. > I added an override to the data setter function: > override public function set data(value:Object):void > { > super.data = value; > ... > } > When this class was compiled into JavaScript, the super.data=value statement produced the following error: > ListsTests/bin/js-debug/products/ProductItemRenderer.js:54: ERROR - Parse error. identifier is a reserved word > super.set_data(value); -- This message was sent by Atlassian JIRA (v6.1#6144)