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 new warnings introducted by scala 2.13.13 and -Xsource:3-cross option #5548

Closed

Conversation

mbaechler
Copy link
Contributor

@mbaechler mbaechler commented Mar 28, 2024

see individual commits for details

I suggest to refrain from merging the Xsource:3-cross compilation flag until Intellij handles it properly ( see https://youtrack.jetbrains.com/issue/SCL-22204/IDEA-doesnt-recognize-Xsource3-cross-option ).

Requires intellij scala plugin 2024.1.20

Updated: I split the change of scala compiler and Xsource:3-cross flag in a separated commit, so everything else can be merged.

…tion

        * boolean arguments need to be passed by name
        * variable shadowing is now a warning
        * case class constructor reference requires a `.apply`
  In scala 3.4, private[this] is now useless,
  it has been deprecated
@fanf
Copy link
Member

fanf commented May 3, 2024

I'm closing this one since it was merged with #5639 - it remains only the first commit about pom change, that will need to go elsewhere.

@fanf fanf closed this May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants