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

Fix: Lower C# runtime version to 7.3 #1877

Merged
merged 6 commits into from
Mar 1, 2022
Merged

Conversation

MikaelMayer
Copy link
Member

@MikaelMayer MikaelMayer commented Mar 1, 2022

This PR enforces the runtime c# version to be 7.3 for now.

Fixes #1873

I added an explicit versioning for the c# language in the DafnyRuntime.csproj, which detected advanced features and led me to revert those to usual features. That way, we can stay backward compatible longer.

By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.

Enforces the runtime csharp version to be as low as possible.
@MikaelMayer MikaelMayer self-assigned this Mar 1, 2022
@MikaelMayer MikaelMayer marked this pull request as ready for review March 1, 2022 15:39
fabiomadge
fabiomadge previously approved these changes Mar 1, 2022
RELEASE_NOTES.md Outdated Show resolved Hide resolved
@@ -9,6 +9,7 @@
<PackageVersion>1.1.0</PackageVersion>
<TargetFramework>net6.0</TargetFramework>
<OutputPath>..\..\Binaries\</OutputPath>
<LangVersion>7.1</LangVersion>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The default for even the ancient dotnet versions is 7.3. Should we maybe target that?

@fabiomadge
Copy link
Collaborator

Thanks for taking care of that. I would have gotten to it... eventually

Co-authored-by: Fabio Madge <[email protected]>
RELEASE_NOTES.md Outdated Show resolved Hide resolved
@MikaelMayer MikaelMayer changed the title Fix: Lower C# runtime version to 7.1 Fix: Lower C# runtime version to 7.3 Mar 1, 2022
@MikaelMayer MikaelMayer enabled auto-merge (squash) March 1, 2022 17:14
@MikaelMayer MikaelMayer merged commit 76c8d59 into master Mar 1, 2022
@MikaelMayer MikaelMayer deleted the fix-requires-csharp-8 branch March 1, 2022 21:37
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.

Dafny 3.4.2 Requires C# 8
2 participants