Skip to content

Commit bb109c6

Browse files
authored
Merge pull request #460 from raboof/remove-nowarn-from-scala2.12-build
Remove @nowarn from Scala 2.12 build
2 parents 8963416 + 8ca6b49 commit bb109c6

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)