-
Notifications
You must be signed in to change notification settings - Fork 168
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
C# language version issue #652
Comments
Is it a runtime error or only in Vs Code.? |
Compile error |
Statement
Getting
On that line |
It was a Roslyn issue. See https://stackoverflow.com/questions/70610365/why-am-i-getting-an-error-with-this-using-statement-without-brackets-net-6 placing curly braces around my script made the compiler happy. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am getting an error when I try to use a "using" statement without braces. I know this is a c# language feature.
I am using dotnet-script v1.3.1. Is there a command to tell me the compiler version?
The text was updated successfully, but these errors were encountered: