From 3e4ed23b15cf8690af5d118f9dcf532d22295fa2 Mon Sep 17 00:00:00 2001 From: Nicolas Stucki Date: Mon, 22 Jan 2024 09:20:06 +0100 Subject: [PATCH] Use 3.4.0-RC3 for MiMa checks --- project/Build.scala | 2 +- project/MiMaFilters.scala | 15 +++++---------- 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/project/Build.scala b/project/Build.scala index df58707f151f..f1c4a06897bf 100644 --- a/project/Build.scala +++ b/project/Build.scala @@ -101,7 +101,7 @@ object Build { * set to 3.1.3. If it is going to be 3.1.0, it must be set to the latest * 3.0.x release. */ - val previousDottyVersion = "3.4.0-RC1" + val previousDottyVersion = "3.4.0-RC3" /** Version against which we check binary compatibility. */ val ltsDottyVersion = "3.3.0" diff --git a/project/MiMaFilters.scala b/project/MiMaFilters.scala index ddd812cc45ff..696fbeec8a39 100644 --- a/project/MiMaFilters.scala +++ b/project/MiMaFilters.scala @@ -7,11 +7,7 @@ object MiMaFilters { // Only exceptional cases should be added here. // Breaking changes since last reference version - Build.previousDottyVersion -> Seq( - // This language feature was in 3.4.0-RC1 but will be removed in 3.4.0-RC2 - ProblemFilters.exclude[MissingFieldProblem]("scala.runtime.stdLibPatches.language#deprecated.ascriptionVarargsUnpacking"), - ProblemFilters.exclude[MissingClassProblem]("scala.runtime.stdLibPatches.language$deprecated$ascriptionVarargsUnpacking$"), - ), + Build.previousDottyVersion -> Seq.empty, // Breaking changes since last LTS Build.ltsDottyVersion -> Seq( @@ -32,11 +28,6 @@ object MiMaFilters { val LibraryForward: Map[String, Seq[ProblemFilter]] = Map( // Additions that require a new minor version of the library Build.previousDottyVersion -> Seq( - // This language feature is not in 3.4.0-RC1 but will be added in 3.4.0-RC2 - ProblemFilters.exclude[MissingFieldProblem]("scala.runtime.stdLibPatches.language.3.5-migration"), - ProblemFilters.exclude[MissingFieldProblem]("scala.runtime.stdLibPatches.language.3.5"), - ProblemFilters.exclude[MissingClassProblem]("scala.runtime.stdLibPatches.language$3$u002E5$"), - ProblemFilters.exclude[MissingClassProblem]("scala.runtime.stdLibPatches.language$3$u002E5$minusmigration$"), ), // Additions since last LTS @@ -57,11 +48,15 @@ object MiMaFilters { ProblemFilters.exclude[MissingClassProblem]("scala.quoted.Quotes$reflectModule$ValOrDefDefMethods"), ProblemFilters.exclude[MissingClassProblem]("scala.runtime.stdLibPatches.language$3$u002E4$"), ProblemFilters.exclude[MissingClassProblem]("scala.runtime.stdLibPatches.language$3$u002E4$minusmigration$"), + ProblemFilters.exclude[MissingClassProblem]("scala.runtime.stdLibPatches.language$3$u002E5$"), + ProblemFilters.exclude[MissingClassProblem]("scala.runtime.stdLibPatches.language$3$u002E5$minusmigration$"), ProblemFilters.exclude[MissingClassProblem]("scala.runtime.stdLibPatches.language$experimental$clauseInterleaving$"), ProblemFilters.exclude[MissingClassProblem]("scala.runtime.stdLibPatches.language$experimental$relaxedExtensionImports$"), ProblemFilters.exclude[MissingClassProblem]("scala.scalajs.runtime.AnonFunctionXXL"), ProblemFilters.exclude[MissingFieldProblem]("scala.runtime.stdLibPatches.language.3.4-migration"), ProblemFilters.exclude[MissingFieldProblem]("scala.runtime.stdLibPatches.language.3.4"), + ProblemFilters.exclude[MissingFieldProblem]("scala.runtime.stdLibPatches.language.3.5-migration"), + ProblemFilters.exclude[MissingFieldProblem]("scala.runtime.stdLibPatches.language.3.5"), ProblemFilters.exclude[MissingFieldProblem]("scala.runtime.stdLibPatches.language#experimental.clauseInterleaving"), ProblemFilters.exclude[MissingFieldProblem]("scala.runtime.stdLibPatches.language#experimental.relaxedExtensionImports"), ),