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

Extra "this" causing error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • Apache FalconJX 0.7.0
    • FalconJX
    • None

    Description

      The following E4X expression:
      list3 = list3.(attribute("name").length());
      compiles to the following (which results in an "undefined" error)
      list3 = list3.filter(function(node)

      {return (node.this.attribute("name").length())}

      );
      It should compile to the following (which works as expected)
      list3 = list3.filter(function(node)

      {return (node.attribute("name").length())}

      );

      Attachments

        Activity

          People

            aharui Alex Harui
            harbs Harbs
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: