File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -14,11 +14,12 @@ def scalacCommonFlags: Seq[String] = Seq(
1414 " -language:higherKinds" ,
1515 " -language:existentials" ,
1616 " -unchecked" ,
17+ " -Wconf:msg=may.not.be.exhaustive:e" , // Make non-exhaustive matches errors instead of warnings
18+ " -Wconf:msg=Reference.to.uninitialized.value:e" , // Make uninitialised value calls errors instead of warnings
19+ " -Wconf:msg=macrotask:s" , // stfu about macrotasks
1720)
1821
1922def scalac2Flags = Seq (
20- " -Wconf:msg=may.not.be.exhaustive:e" , // Make non-exhaustive matches errors instead of warnings
21- " -Wconf:msg=Reference.to.uninitialized.value:e" , // Make uninitialised value calls errors instead of warnings
2223 " -Wunused:explicits" , // Warn if an explicit parameter is unused.
2324 " -Wunused:implicits" , // Warn if an implicit parameter is unused.
2425 " -Wunused:imports" , // Warn if an import selector is not referenced.
You can’t perform that action at this time.
0 commit comments