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

(a << b) | (a >> (b)) is not highlighted properly #60

Closed
iczero opened this issue Dec 2, 2019 · 0 comments
Closed

(a << b) | (a >> (b)) is not highlighted properly #60

iczero opened this issue Dec 2, 2019 · 0 comments

Comments

@iczero
Copy link

iczero commented Dec 2, 2019

Describe the issue
Code is not highlighted properly. It seems to be an issue with flow types.

Screenshot of Current Behavior
image
image
image

Sample Code to Reproduce

(a << b) | (a >> (b));

Notes:

  • Removing the () around the second b fixes the issue
  • Putting the second part (after the or) on a new line fixes the issue
  • Replacing the bitwise or operator with any other infix operator still causes the issue
  • Replacing the bitwise or operator with completely invalid javascript still causes the issue
  • Everything after the problem seems to use the selector meta.type-arguments.flowtype
@iczero iczero closed this as not planned Won't fix, can't repro, duplicate, stale Apr 9, 2023
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

1 participant