Uploaded image for project: 'Appcelerator Studio'
  1. Appcelerator Studio
  2. TISTUD-6162

Titanium Studio shows psuedoproperty assignments as errors

    Details

    • Story Points:
      8
    • Sprint:
      2014 Sprint 11 Studio

      Description

      The pseudo property assignment operator 'get' as shown here: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/get isn't parsed correctly by Studio, so shows up as an error, even though the script is valid.

      Running the attached script ('node error.js') returns the following:
      someResult1
      someResult2
      operatorResult1
      as expected, but as you can see in the screen shot, the line 'get operator1' is flagged as an error. This parse error also cascades, causing Studio to have difficulty parsing the next few lines.

      Attachments:
      1. error.tiff <-- a screen shot of error.js in studio showing the red x for parse error
      2. error.js a simple script that demonstrates the issue
      3. should.js a more complex script that shows the issue (at line 1210) and the parse issues cascading down the script.

        Attachments

        1. error.js
          0.5 kB
        2. error.tiff
          63 kB
        3. should.js
          64 kB

          Issue Links

            Activity

              People

              • Assignee:
                cwilliams Christopher Williams
                Reporter:
                twilkinson Thomas Wilkinson
                Reviewer:
                Praveen Innamuri (Inactive)
              • Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: