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

C# scripting should use language version "latest" by default #2001

Merged
merged 2 commits into from
Nov 4, 2020

Conversation

filipw
Copy link
Member

@filipw filipw commented Nov 4, 2020

In the past lang version Latest used to resolve to 7.1 so in order to force C# 8 in scripting we enabled it explicitly.
Now this is no longer correct, so resetting back to Latest as Roslyn does it https://github.com/dotnet/roslyn/blob/version-3.2.0/src/Scripting/CSharp/CSharpScriptCompiler.cs#L14

Additionally added a test so if Latest no longer means 9, the test will break and let us decide how to proceed.

@filipw filipw force-pushed the feature/scripting-lang-version branch from c33fe93 to 14825ba Compare November 4, 2020 13:40
@filipw filipw merged commit 0ed85e3 into master Nov 4, 2020
@filipw filipw deleted the feature/scripting-lang-version branch November 4, 2020 21:01
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

Successfully merging this pull request may close these issues.

None yet

2 participants