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

To aid cross building, allow ? as a wildcard even without -Xsource:3 #9990

Merged
merged 1 commit into from Apr 14, 2022

Commits on Apr 5, 2022

  1. Allow ? as a wildcard even without -Xsource:3

    Like scala#9721, the goal here is to ease
    cross-compilation between Scala 2 and 3 code as we prepare for `_` as wildcard
    to be deprecated in Scala 3 (cf scala/scala3#5379).
    
    This is technically a source-breaking change, but using a type named ? without
    backticks is deprecated since 2.13.6 (scala#9626) and defining a type named ? without
    backticks is disallowed since 2.13.7 (scala#9735). The only known user of ? as a type
    name was the kind-projector plugin, but support for this syntax was removed from
    the plugin a year ago (typelevel/kind-projector#186),
    so I believe this change won't be disruptive.
    smarter committed Apr 5, 2022
    Configuration menu
    Copy the full SHA
    276e368 View commit details
    Browse the repository at this point in the history