Skip to content

Commit

Permalink
Upgrade Scala 2 to 2.13.14
Browse files Browse the repository at this point in the history
  • Loading branch information
WojciechMazur committed Jul 2, 2024
1 parent a5c74e7 commit b357bc9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 4 additions & 4 deletions project/Build.scala
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@ object Build {
* scala-library.
*/
def stdlibVersion(implicit mode: Mode): String = mode match {
case NonBootstrapped => "2.13.13"
case Bootstrapped => "2.13.13"
case NonBootstrapped => "2.13.14"
case Bootstrapped => "2.13.14"
}

/** Version of the scala-library for which we will generate TASTy.
Expand All @@ -155,7 +155,7 @@ object Build {
* We can use nightly versions to tests the future compatibility in development.
* Nightly versions: https://scala-ci.typesafe.com/ui/native/scala-integration/org/scala-lang
*/
val stdlibBootstrappedVersion = "2.13.13"
val stdlibBootstrappedVersion = "2.13.14"

val dottyOrganization = "org.scala-lang"
val dottyGithubUrl = "https://github.com/scala/scala3"
Expand Down Expand Up @@ -1358,7 +1358,7 @@ object Build {
"io.get-coursier" % "interface" % "1.0.18",
"org.scalameta" % "mtags-interfaces" % mtagsVersion,
),
libraryDependencies += ("org.scalameta" % "mtags-shared_2.13.13" % mtagsVersion % SourceDeps),
libraryDependencies += ("org.scalameta" % "mtags-shared_2.13.14" % mtagsVersion % SourceDeps),
ivyConfigurations += SourceDeps.hide,
transitiveClassifiers := Seq("sources"),
scalacOptions ++= Seq("-source", "3.3"), // To avoid fatal migration warnings
Expand Down
4 changes: 4 additions & 0 deletions project/Scala2LibraryBootstrappedMiMaFilters.scala
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,10 @@ object Scala2LibraryBootstrappedMiMaFilters {
"scala.collection.mutable.LinkedHashSet.defaultLoadFactor", // private[collection] final def
"scala.collection.mutable.LinkedHashSet.defaultinitialSize", // private[collection] final def
"scala.collection.mutable.OpenHashMap.nextPositivePowerOfTwo", // private[mutable] def
// New in 2.13.13
"scala.collection.mutable.ArrayBuffer.resizeUp", // private[mutable] def
// New in 2.13.14
"scala.util.Properties.consoleIsTerminal", // private[scala] lazy val
).map(ProblemFilters.exclude[DirectMissingMethodProblem]) ++
Seq( // MissingFieldProblem: static field ... in object ... does not have a correspondent in other version
"scala.Array.UnapplySeqWrapper",
Expand Down

0 comments on commit b357bc9

Please sign in to comment.