question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Set scalac compiler flag for fatal warnings

See original GitHub issue

Motivation 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:closed
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
pauljamesclearycommented, Aug 1, 2018

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.

0reactions
kevinmeredithcommented, Aug 12, 2018

Glad to hear and thanks, Paul! I hope to contribute to this library at some point.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found