-
Notifications
You must be signed in to change notification settings - Fork 679
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
Variable scope not being seen properly in Dark/Light (Visual Studio) themes #34
Comments
From @Tyriar on February 11, 2016 3:10 The variable is assigned but not used, a warning is expected because technically the variable is still doing nothing.
|
Moving to OmniSharp for commenting on the warning on the variable. |
Thanks. Will take a look! |
The issue with the warning is by design. We were tracking the colorization issue with #100, but haven't been to reproduce it in a long while. |
From @rhires on February 11, 2016 3:2
I wanted to title this "It's not just a mouthwash!" but...
Anyway, this brought me back to making sure I knew about scope - when I have a variable outside of the if statement, and then reference it inside the if statement, the system shouldn't complain about that. It's perfectly valid syntax. Why does VSCode think my variable is unused?
This is a C# file (which the little info in the bottom info bar agrees with), running 0.10.8, on Mac OS X Yosemite. This appears to be a new issue.
Copied from original issue: microsoft/vscode#2916
The text was updated successfully, but these errors were encountered: