Skip to content

Commit 733e629

Browse files
committed
mima
1 parent bf912e8 commit 733e629

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

build.sbt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,7 @@ lazy val compilerInterface = (project in internalPath / "compiler-interface")
337337
import com.typesafe.tools.mima.core.ProblemFilters._
338338
Seq(
339339
exclude[ReversedMissingMethodProblem]("xsbti.compile.ExternalHooks#Lookup.hashClasspath"),
340+
exclude[ReversedMissingMethodProblem]("xsbti.compile.ScalaInstance.loaderLibraryOnly"),
340341
)
341342
},
342343
)
@@ -466,6 +467,14 @@ lazy val zincClasspath = (project in internalPath / "zinc-classpath")
466467
relaxNon212,
467468
libraryDependencies ++= Seq(scalaCompiler.value, launcherInterface),
468469
mimaSettings,
470+
mimaBinaryIssueFilters ++= {
471+
import com.typesafe.tools.mima.core._
472+
import com.typesafe.tools.mima.core.ProblemFilters._
473+
Seq(
474+
// Add another ctor to ScalaInstance
475+
exclude[DirectMissingMethodProblem]("sbt.internal.inc.ScalaInstance.this"),
476+
)
477+
},
469478
)
470479
.configure(addSbtIO)
471480

0 commit comments

Comments
 (0)