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

Allow case in pattern bindings even without -Xsource:3 #9721

Merged
merged 1 commit into from Aug 11, 2021

Commits on Aug 10, 2021

  1. Allow case in pattern bindings even without -Xsource:3

    In scala#9558 (which shipped with 2.13.6) we added support for `case` bindings
    under -Xsource:3. Since this parser change does not break any existing
    code and since IntelliJ and scalameta/metals now understand this syntax
    in Scala 2 code, it should be safe to enable it by default to further
    ease cross-compilation between Scala 2 and 3.
    smarter committed Aug 10, 2021
    Configuration menu
    Copy the full SHA
    0cecad3 View commit details
    Browse the repository at this point in the history