-
Notifications
You must be signed in to change notification settings - Fork 74
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
mbaechler
wants to merge
20
commits into
Normation:branches/rudder/8.1
from
mbaechler:xsource-3-cross
Closed
Fix new warnings introducted by scala 2.13.13 and -Xsource:3-cross option #5548
mbaechler
wants to merge
20
commits into
Normation:branches/rudder/8.1
from
mbaechler:xsource-3-cross
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24fdf1e
to
fcd759b
Compare
…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
fcd759b
to
de51768
Compare
… catchall for future values
a9c959b
to
a2ece2a
Compare
… it requires manual definition now
…private scope for the enclosing type now
a2ece2a
to
4dbb145
Compare
fanf
pushed a commit
to fanf/rudder
that referenced
this pull request
Apr 30, 2024
This is the port of Normation#5548
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. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
see individual commits for details
I suggest to refrain from merging theXsource: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.