Set scalac compiler flag for fatal warnings
See original GitHub issueMotivation We do not fail compile if any of our compiler flags warn. This causes failures during PR builds that could have been resolved locally.
Scope of change
Add "-Xfatal-warnings" to our compiler options.
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Scala Compiler Options
The Scala compiler scalac offers various compiler options, or flags, that change the compiler's default behavior. Some options just generate more compiler ...
Read more >Scala Compiler Options, Fatal Warnings and Linting Guide
In this video we are going to learn all there is to know related to scalac options related to warnings and linting. Where...
Read more >Fatal Warnings and Linting in Scala - Alexandru Nedelcu
The Scala compiler has multiple linting options available and emits some warnings out of the box that would be more useful as errors....
Read more >stricter Scala with -Xlint, -Xfatal-warnings, and Scalafix
There's no warning. Two of my favorite Scala compiler flags lately are "-Xlint" and "-Xfatal-warnings" . Here is an example setting that can ......
Read more >How to set Fatal Warnings in Scala 2.13?
The old -Xfatal-warnings compiler option in 2.12 no longer works in 2.13. Here's how to enable the same functionality in scala 2.13.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Let’s evaluate if the plugin is suitable, i.e. there aren’t tons of warnings. Otherwise, let’s for the scope of this issue just flip fatal on.
Glad to hear and thanks, Paul! I hope to contribute to this library at some point.