- Notifications
You must be signed in to change notification settings - Fork1k
added Warning options to the list of scala3 compiler options#2959
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:main
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
rssh commentedJan 30, 2024
Occasionally, this will address#2940 |
| | 3.3.x| description| | ||
| |-|-| | ||
| |`-Wunused:imports`| Warn about unused imports| |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
weren't all -Wunused present in Scala 2? The same for value-discard.Wnonunit-statement seems to be new, same forWimplausible-patterns and some others.
ScalaSettings.scala#L169-L170
https://docs.scala-lang.org/overviews/compiler-options/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Scala 2 has-Wnonunit-statement
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Ok, deleted options that were presented in scala-2
By the way, we need another page with all scala3 options in some other document, but this would be another issue.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
But -Wnounit-statement for scala2 is not documented inhttps://docs.scala-lang.org/overviews/compiler-options/
SethTisueMar 11, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
That page has long been in a grievous state of unmaintainedness, I'm ashamed to say:#1711
Deleted options which was present in 2.x
No description provided.