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

JavaScript: highlight keyword after dot #1807

Closed
rumkin opened this issue Mar 14, 2019 · 3 comments · Fixed by #1808
Closed

JavaScript: highlight keyword after dot #1807

rumkin opened this issue Mar 14, 2019 · 3 comments · Fixed by #1808

Comments

@rumkin
Copy link

rumkin commented Mar 14, 2019

Keyword after dot should not be highlighted as a keyword. This is already appeared in .catch issue #1526. Current found issue is in the next code:

Array.from()
Array.forEach()

Where from and forEach highlighted as keyword and function respectively.

@RunDevelopment
Copy link
Member

I can see the problem with from and other keywords but what's wrong with forEach? It's not a keyword AFAIK.

@rumkin
Copy link
Author

rumkin commented Mar 14, 2019

This is an example of different behavior. Highlighting should be the same in both cases.

@RunDevelopment
Copy link
Member

Agreed.

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

Successfully merging a pull request may close this issue.

3 participants