Skip to content

Commit c47e0bf

Browse files
committed
confirm diagnostics-based rules are resilient to Wconf silencing
scalacenter#2275
1 parent fb8d71d commit c47e0bf

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

build.sbt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,12 @@ lazy val input = projectMatrix
250250
coverageEnabled := false,
251251
// mimic dependsOn(shared) but allowing binary Scala version matching
252252
Compile / internalDependencyClasspath ++=
253-
resolve(shared, Compile / exportedProducts).value
253+
resolve(shared, Compile / exportedProducts).value,
254+
scalacOptions ++= {
255+
// Exercise https://github.com/scala/scala3-lts/pull/535
256+
if (scalaVersion.value.startsWith("3.3")) Seq("-Wconf:id=E198:info")
257+
else Seq()
258+
}
254259
)
255260
.defaultAxes(VirtualAxis.jvm)
256261
.jvmPlatformTargets(cliScalaVersionsWithTargets.map(_._2))

0 commit comments

Comments
 (0)