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 either -Xsource:3 (for preparing to switch to 3) or -Xsource:3-cross (for crossbuilding on 2 and 3) #10573

Merged
merged 2 commits into from
Jan 30, 2024

Commits on Jan 30, 2024

  1. Distinguish between -Xsource:3migrate and -Xsource:3cross

    Add documentation to `-Xsource:help`.
    
    -Xsource:3migrate is an alias for `-Xsource:3`, it enables fatal
    warnings but doesn't change semantics.
    
    -Xsource:3cross adpots Scala 3 semantics for certain constructs and
    skips the warning, for example modifiers of case class apply / copy
    methods. Warnings for things that should be addressed because they are
    deprecated / unsupported in Scala 3 remain.
    som-snytt authored and lrytz committed Jan 30, 2024
    Configuration menu
    Copy the full SHA
    e04f153 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3950943 View commit details
    Browse the repository at this point in the history