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

Cast highlighted incorrectly in control structures #125

Closed
MonaTheMonad opened this issue Jun 24, 2018 · 3 comments
Closed

Cast highlighted incorrectly in control structures #125

MonaTheMonad opened this issue Jun 24, 2018 · 3 comments
Labels

Comments

@MonaTheMonad
Copy link

Details

Visual Studio Code (1.25.0-insider)

Repro

image
Also occurs in while loops, if statements, etc, and even when the lhs is not an indexer expression. Issue does not arise when the expression being cast is not a function call.
image

@JoeRobich
Copy link
Member

The space seems to be throwing things off here.
image

@wise0704
Copy link
Contributor

wise0704 commented Sep 1, 2023

It seems already fixed in the main branch. Not sure which commit.

@JoeRobich
Copy link
Member

Confirmed. Adding a test for good measure.

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

No branches or pull requests

4 participants