Skip to content

Commit 8ca6b49

Browse files
committed
Remove @nowarn from Scala 2.12 build
Since it is shipped as part of scala-library since 2.12.3 Fixes #426
1 parent 799021b commit 8ca6b49

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

build.sbt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,9 @@ lazy val compat = MultiScalaCrossProject(JSPlatform, JVMPlatform, NativePlatform
8989
import com.typesafe.tools.mima.core._
9090
import com.typesafe.tools.mima.core.ProblemFilters._
9191
Seq(
92-
exclude[ReversedMissingMethodProblem]("scala.collection.compat.PackageShared.*") // it's package-private
92+
exclude[ReversedMissingMethodProblem]("scala.collection.compat.PackageShared.*"), // it's package-private
93+
exclude[MissingClassProblem]("scala.annotation.nowarn"), // it's part of scala-library from 2.12.13 onwards
94+
exclude[MissingClassProblem]("scala.annotation.nowarn$") // it's part of scala-library from 2.12.13 onwards
9395
)
9496
},
9597
)

0 commit comments

Comments
 (0)