|
2 | 2 | import com.typesafe.tools.mima.core._
|
3 | 3 |
|
4 | 4 | object MiMaFilters {
|
5 |
| - val Library: Seq[ProblemFilter] = Seq( |
6 |
| - // New API in 3.4.X |
7 |
| - ProblemFilters.exclude[ReversedMissingMethodProblem]("scala.quoted.Quotes#reflectModule#FlagsModule.AbsOverride"), |
8 |
| - ProblemFilters.exclude[ReversedMissingMethodProblem]("scala.quoted.Quotes#reflectModule.ValOrDefDefTypeTest"), |
9 |
| - ProblemFilters.exclude[ReversedMissingMethodProblem]("scala.quoted.Quotes#reflectModule.ValOrDefDefMethods"), |
10 |
| - ProblemFilters.exclude[ReversedMissingMethodProblem]("scala.quoted.Quotes#reflectModule#defnModule.FunctionClass"), |
11 |
| - ProblemFilters.exclude[ReversedMissingMethodProblem]("scala.quoted.Quotes#reflectModule#defnModule.PolyFunctionClass"), |
12 |
| - ProblemFilters.exclude[ReversedMissingMethodProblem]("scala.quoted.Quotes#reflectModule#TypeReprMethods.dealiasKeepOpaques"), |
13 |
| - ProblemFilters.exclude[ReversedMissingMethodProblem]("scala.quoted.Quotes#reflectModule#SymbolMethods.paramVariance"), |
14 |
| - ProblemFilters.exclude[ReversedMissingMethodProblem]("scala.quoted.Quotes#reflectModule#TypeLambdaMethods.paramVariances"), |
| 5 | + val LibraryBackwards: Map[String, Seq[ProblemFilter]] = Map( |
| 6 | + // In general we should never have backwards incompatible changes in the library. |
| 7 | + // Only exceptional cases should be added here. |
| 8 | + Build.previousDottyVersion -> Seq( |
| 9 | + // This language feature was in 3.4.0-RC1 but will be removed in 3.4.0-RC2 |
| 10 | + ProblemFilters.exclude[MissingFieldProblem]("scala.runtime.stdLibPatches.language#deprecated.ascriptionVarargsUnpacking"), |
| 11 | + ProblemFilters.exclude[MissingClassProblem]("scala.runtime.stdLibPatches.language$deprecated$ascriptionVarargsUnpacking$"), |
| 12 | + ) |
| 13 | + ) |
| 14 | + val LibraryForward: Map[String, Seq[ProblemFilter]] = Map( |
| 15 | + // Additions that require a new minor version of the library |
| 16 | + Build.previousDottyVersion -> Seq( |
| 17 | + // This language feature is not in 3.4.0-RC1 but will be added in 3.4.0-RC2 |
| 18 | + ProblemFilters.exclude[MissingFieldProblem]("scala.runtime.stdLibPatches.language.3.5-migration"), |
| 19 | + ProblemFilters.exclude[MissingFieldProblem]("scala.runtime.stdLibPatches.language.3.5"), |
| 20 | + ProblemFilters.exclude[MissingClassProblem]("scala.runtime.stdLibPatches.language$3$u002E5$"), |
| 21 | + ProblemFilters.exclude[MissingClassProblem]("scala.runtime.stdLibPatches.language$3$u002E5$minusmigration$"), |
| 22 | + ) |
15 | 23 | )
|
16 | 24 | val TastyCore: Seq[ProblemFilter] = Seq(
|
17 |
| - ProblemFilters.exclude[DirectMissingMethodProblem]("dotty.tools.tasty.TastyFormat.EXPLICITtpt"), |
18 | 25 | )
|
19 | 26 | val Interfaces: Seq[ProblemFilter] = Seq(
|
20 | 27 | )
|
|
0 commit comments