Skip to content

Commit

Permalink
Remove @nowarn from Scala 2.12 build
Browse files Browse the repository at this point in the history
Since it is shipped as part of scala-library since 2.12.3

Fixes #426
  • Loading branch information
raboof committed May 31, 2021
1 parent 799021b commit 8ca6b49
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,9 @@ lazy val compat = MultiScalaCrossProject(JSPlatform, JVMPlatform, NativePlatform
import com.typesafe.tools.mima.core._
import com.typesafe.tools.mima.core.ProblemFilters._
Seq(
exclude[ReversedMissingMethodProblem]("scala.collection.compat.PackageShared.*") // it's package-private
exclude[ReversedMissingMethodProblem]("scala.collection.compat.PackageShared.*"), // it's package-private
exclude[MissingClassProblem]("scala.annotation.nowarn"), // it's part of scala-library from 2.12.13 onwards
exclude[MissingClassProblem]("scala.annotation.nowarn$") // it's part of scala-library from 2.12.13 onwards
)
},
)
Expand Down

0 comments on commit 8ca6b49

Please sign in to comment.