Skip to content

Commit

Permalink
Fix MiMa filters for Scala 3.6.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
WojciechMazur committed Oct 19, 2024
1 parent e50e589 commit ee78a3a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion project/Build.scala
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ object Build {
* - `3.M.0` if `P > 0`
* - `3.(M-1).0` if `P = 0`
*/
val mimaPreviousDottyVersion = "3.5.0"
val mimaPreviousDottyVersion = "3.6.0"

/** LTS version against which we check binary compatibility.
*
Expand Down
11 changes: 9 additions & 2 deletions project/MiMaFilters.scala
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ object MiMaFilters {
val ForwardsBreakingChanges: Map[String, Seq[ProblemFilter]] = Map(
// Additions that require a new minor version of the library
Build.mimaPreviousDottyVersion -> Seq(
ProblemFilters.exclude[MissingFieldProblem]("scala.runtime.stdLibPatches.language#experimental.betterFors"),
ProblemFilters.exclude[MissingClassProblem]("scala.runtime.stdLibPatches.language$experimental$betterFors$"),
ProblemFilters.exclude[MissingFieldProblem]("scala.runtime.stdLibPatches.language#experimental.quotedPatternsWithPolymorphicFunctions"),
ProblemFilters.exclude[MissingClassProblem]("scala.runtime.stdLibPatches.language$experimental$quotedPatternsWithPolymorphicFunctions$"),
ProblemFilters.exclude[DirectMissingMethodProblem]("scala.quoted.runtime.Patterns.higherOrderHoleWithTypes"),
),

// Additions since last LTS
Expand Down Expand Up @@ -65,10 +66,16 @@ object MiMaFilters {
ProblemFilters.exclude[MissingClassProblem]("scala.runtime.stdLibPatches.language$experimental$betterMatchTypeExtractors$"),
ProblemFilters.exclude[MissingClassProblem]("scala.runtime.stdLibPatches.language$experimental$modularity$"),
ProblemFilters.exclude[MissingClassProblem]("scala.runtime.stdLibPatches.language$experimental$namedTuples$"),
ProblemFilters.exclude[MissingFieldProblem]("scala.runtime.stdLibPatches.language#experimental.betterFors"),
ProblemFilters.exclude[MissingClassProblem]("scala.runtime.stdLibPatches.language$experimental$betterFors$"),
ProblemFilters.exclude[MissingFieldProblem]("scala.runtime.stdLibPatches.language.3.7-migration"),
ProblemFilters.exclude[MissingFieldProblem]("scala.runtime.stdLibPatches.language.3.7"),
ProblemFilters.exclude[MissingClassProblem]("scala.runtime.stdLibPatches.language$3$u002E7$"),
ProblemFilters.exclude[MissingClassProblem]("scala.runtime.stdLibPatches.language$3$u002E7$minusmigration$"),
ProblemFilters.exclude[MissingClassProblem]("scala.NamedTuple"),
ProblemFilters.exclude[MissingClassProblem]("scala.NamedTuple$"),
ProblemFilters.exclude[MissingClassProblem]("scala.NamedTupleDecomposition"),
ProblemFilters.exclude[MissingClassProblem]("scala.NamedTupleDecomposition$"),
),
)

Expand Down

0 comments on commit ee78a3a

Please sign in to comment.