From 437b9d9bc485058db1b949543bb24c3c3d4e03bb Mon Sep 17 00:00:00 2001 From: Scala Steward Date: Sat, 5 Sep 2026 01:11:10 +0000 Subject: [PATCH] Update scala-library to 3.9.0 --- build.sbt | 2 +- project/BuildVersions.scala | 2 +- scripts/test-snippets.scala | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.sbt b/build.sbt index 8deb0903f..9811e988b 100644 --- a/build.sbt +++ b/build.sbt @@ -104,7 +104,7 @@ val settings = Seq( "-Wconf:msg=discarding unmoored doc comment:s", // silence errors when scaladoc cannot comprehend nested vals "-Wconf:msg=Could not find any member to link for:s", // since errors when scaladoc cannot link to stdlib types or nested types "-Wconf:msg=Variable .+ undefined in comment for:s", // silence errors when there we're showing a buggy Expr in scaladoc comment - "-Wconf:msg=a type was inferred to be kind-polymorphic `Nothing` to conform to:s", // silence warn that appeared after updating to Scala 2.13.18 + "-Wconf:msg=a type was inferred to be kind-polymorphic `Nothing` to conform to:s", // silence warn that appeared after updating to Scala 3.9.0 "-Wunused:patvars", "-Xfatal-warnings", "-Xlint:adapted-args", diff --git a/project/BuildVersions.scala b/project/BuildVersions.scala index 445bf3441..291721fd1 100644 --- a/project/BuildVersions.scala +++ b/project/BuildVersions.scala @@ -9,7 +9,7 @@ import sbt.librarymanagement.CrossVersion object versions { // Versions we are publishing for. - val scala213 = "2.13.18" + val scala213 = "3.9.0" val scala3 = "3.9.0" // For chimney-sandwich-test-cases-3 ONLY: sbt forbids Scala 2.13 subprojects from depending on Scala 3.8+ // subprojects (sbt-8728), and 2.13's -Ytasty-reader tops out below TASTy 28.8 - see the module for details. diff --git a/scripts/test-snippets.scala b/scripts/test-snippets.scala index 482658064..11e97528b 100644 --- a/scripts/test-snippets.scala +++ b/scripts/test-snippets.scala @@ -45,7 +45,7 @@ class ChimneyExtendedRunner(runner: Runner)( mkDocsCfg: MkDocsConfig ) extends Runner { - private val defaultScalaVersion = "2.13.18" + private val defaultScalaVersion = "3.9.0" private val replacePatterns = (mkDocsCfg.extra + (raw"chimney_version\(\)" -> chimneyVersion)).map { case (k, v) => (raw"\{\{\s*" + k + raw"\s*\}\}") -> v