Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-33887

"super" not converted to goog.base call when used in customer setter

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • Apache FlexJS 0.0.2
    • FlexJS
    • Mac OS X

    Description

      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);

      Attachments

        Activity

          People

            erik@ixsoftware.nl Erik de Bruin
            pent@adobe.com Peter Ent
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: