Skip to content

Commit 496513d

Browse files
committed
Silence macrotasks warnings in downstream-tests
1 parent a705074 commit 496513d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

downstream-tests/build.sbt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff 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

1922
def 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.

0 commit comments

Comments
 (0)