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] extends is painted like a class name #1636

Closed
ghost opened this issue Jun 11, 2018 · 5 comments
Closed

[JavaScript] extends is painted like a class name #1636

ghost opened this issue Jun 11, 2018 · 5 comments

Comments

@ghost
Copy link

ghost commented Jun 11, 2018

Code:

~class extends a{static a(){}}

Expected:

Actual:

@Thom1729
Copy link
Collaborator

Already fixed by #1614.

@ghost
Copy link
Author

ghost commented Jun 11, 2018

Are you sure? I merged your patch locally to master branch syntax file and the issue is still present...

@Thom1729
Copy link
Collaborator

I'm sure. You can see that in the "actual" example, the token extends is marked entity.name.class, which is what interferes with the rest of the expression. You will observe that if you add an explicit class name, the bug vanishes. I checked out the branch being merged in #1614, and I can verify that the bug is fixed.

@keith-hall
Copy link
Collaborator

please mention in your issue title which syntax it refers to, it appears to be JavaScript in this case.

@ghost ghost changed the title static is white [JavaScript] extends is painted like a class name Jun 11, 2018
@ghost
Copy link
Author

ghost commented Jun 11, 2018

@Thom1729

You are right, I was merging wrong pr. Closing this.

@ghost ghost closed this as completed Jun 11, 2018
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants