Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
GoogleCodeExporter opened this issue Feb 7, 2016 · 0 comments

Comments

@GoogleCodeExporter
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant