mwarrenus / js2-mode

Automatically exported from code.google.com/p/js2-mode
0 stars 0 forks source link

"missing name after . operator" gets confused by properties named "private" #120

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Load a javascript file with contents like the following:

var x = object;
x.test = 5;
x.private = 6;

2. Note that the "." on the second property assignment is highlighted red and 
labelled "missing name after . operator"

What is the expected output? What do you see instead?
"missing name after . operator" gets confused by properties named "private"

What version of the product are you using? On what operating system?
Self built js2-20090723b.el 
in GNU Emacs 23.1.1
on FreeBSD 7.2-RELEASE-p4

Original issue reported on code.google.com by adrian.e...@gmail.com on 20 Jul 2010 at 3:25