Project: appceleratorstudio
Issue TISTUD-6162: Titanium Studio shows psuedoproperty assignments as errors
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.
Story points: 8