Skip to content

Scala 2.13.16 (was .15) #22386

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jan 18, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -1479,7 +1486,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 @@ -1489,7 +1496,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
Loading