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

Better defaults and handling for LangVersion #167

Merged
merged 3 commits into from
Oct 12, 2023
Merged

Commits on Oct 12, 2023

  1. Fix some warnings

    mhutch committed Oct 12, 2023
    Configuration menu
    Copy the full SHA
    4f54e8a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    821b31a View commit details
    Browse the repository at this point in the history
  3. Add support for C# 11 and newer versions

    If a langversion is explicitly provided, use it verbatim. The
    compiler will check validity and emit and error if needed.
    Otherwise, use the C# language version known to be supported by
    the current runtime, as we may be using csc/Roslyn from a newer
    runtime where the "latest" language features depend on new APIs
    that aren't available on the current runtime.
    
    If we do not have a language version mapping for the runtime, use
    "latest" so all its language features are available until we add
    the version mapping.
    
    Fix #166 - Support for C# 11
    mhutch committed Oct 12, 2023
    Configuration menu
    Copy the full SHA
    51a5db5 View commit details
    Browse the repository at this point in the history