Skip to content

Commit

Permalink
Scala 2.13.16 (was .15) (#22386)
Browse files Browse the repository at this point in the history
  • Loading branch information
WojciechMazur authored Jan 18, 2025
2 parents 1778a6e + aa8b23a commit 5bc04db
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
2 changes: 1 addition & 1 deletion community-build/community-projects/stdLib213
Submodule stdLib213 updated 1443 files
17 changes: 12 additions & 5 deletions project/Build.scala
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,8 @@ object Build {
* scala-library.
*/
def stdlibVersion(implicit mode: Mode): String = mode match {
case NonBootstrapped => "2.13.15"
case Bootstrapped => "2.13.15"
case NonBootstrapped => "2.13.16"
case Bootstrapped => "2.13.16"
}

/** Version of the scala-library for which we will generate TASTy.
Expand All @@ -219,7 +219,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.15"
val stdlibBootstrappedVersion = "2.13.16"

val dottyOrganization = "org.scala-lang"
val dottyGithubUrl = "https://github.com/scala/scala3"
Expand Down Expand Up @@ -739,6 +739,13 @@ object Build {
// Use source 3.3 to avoid fatal migration warnings on scalajs-ir
scalacOptions ++= Seq("-source", "3.3"),

/* Ignore a deprecation warning about AnyRefMap in scalajs-ir. The latter
* cross-compiles for 2.12, and therefore AnyRefMap remains useful there
* for performance reasons.
* The build of Scala.js core does the same thing.
*/
scalacOptions += "-Wconf:cat=deprecation&origin=scala\\.collection\\.mutable\\.AnyRefMap.*:s",

// Generate compiler.properties, used by sbt
(Compile / resourceGenerators) += Def.task {
import java.util._
Expand Down Expand Up @@ -1481,7 +1488,7 @@ object Build {
BuildInfoPlugin.buildInfoDefaultSettings

lazy val presentationCompilerSettings = {
val mtagsVersion = "1.4.1"
val mtagsVersion = "1.4.2"
Seq(
libraryDependencies ++= Seq(
"org.lz4" % "lz4-java" % "1.8.0",
Expand All @@ -1491,7 +1498,7 @@ object Build {
.exclude("org.eclipse.lsp4j","org.eclipse.lsp4j.jsonrpc"),
"org.eclipse.lsp4j" % "org.eclipse.lsp4j" % "0.20.1",
),
libraryDependencies += ("org.scalameta" % "mtags-shared_2.13.15" % mtagsVersion % SourceDeps),
libraryDependencies += ("org.scalameta" % "mtags-shared_2.13.16" % mtagsVersion % SourceDeps),
ivyConfigurations += SourceDeps.hide,
transitiveClassifiers := Seq("sources"),
scalacOptions ++= Seq("-source", "3.3"), // To avoid fatal migration warnings
Expand Down
2 changes: 1 addition & 1 deletion tests/patmat/i7186.scala
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ object printMips {

def apply(nodes: List[Assembler]): Unit = {
var symbCount = 0L
val symbols = new scala.collection.mutable.AnyRefMap[Scoped,Long]()
val symbols = new scala.collection.mutable.HashMap[Scoped,Long]()

print(mipsNode(nodes, " "))

Expand Down

0 comments on commit 5bc04db

Please sign in to comment.