[
https://issues.apache.org/jira/browse/FLEX-33887?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Piotr Zarzycki updated FLEX-33887:
----------------------------------
Fix Version/s: Apache FlexJS 0.0.2
> "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
> Fix For: Apache FlexJS 0.0.2
>
>
> 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.3.4#6332)