From 659c9aa75059138819d34d438fea87ae0528397a Mon Sep 17 00:00:00 2001 From: Wojciech Mazur Date: Mon, 5 May 2025 16:24:13 +0200 Subject: [PATCH 1/4] Set reference compiler to 3.7.1-RC1 --- project/Build.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/Build.scala b/project/Build.scala index 3e5ef3f43050..6af032e98bdf 100644 --- a/project/Build.scala +++ b/project/Build.scala @@ -103,7 +103,7 @@ object Build { * * Warning: Change of this variable needs to be consulted with `expectedTastyVersion` */ - val referenceVersion = "3.7.0-RC4" + val referenceVersion = "3.7.1-RC1" /** Version of the Scala compiler targeted in the current release cycle * Contains a version without RC/SNAPSHOT/NIGHTLY specific suffixes From 8fe8039a5cb91fe10a464d42a2dc5437a1b233a3 Mon Sep 17 00:00:00 2001 From: Wojciech Mazur Date: Mon, 5 May 2025 16:24:37 +0200 Subject: [PATCH 2/4] Set MiMa previous version to 3.7.0 --- project/Build.scala | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/project/Build.scala b/project/Build.scala index 6af032e98bdf..200bcc977044 100644 --- a/project/Build.scala +++ b/project/Build.scala @@ -177,9 +177,8 @@ object Build { * For a developedVersion `3.M.P` the mimaPreviousDottyVersion should be set to: * - `3.M.0` if `P > 0` * - `3.(M-1).0` if `P = 0` - * 3.6.2 is an exception from this rule - 3.6.0 was a broken release, 3.6.1 was hotfix (unstable) release */ - val mimaPreviousDottyVersion = "3.7.0-RC1" + val mimaPreviousDottyVersion = "3.7.0" /** LTS version against which we check binary compatibility. * From a7ee39abb5f779851756d9521dab260bc4550e7d Mon Sep 17 00:00:00 2001 From: Wojciech Mazur Date: Mon, 5 May 2025 16:25:50 +0200 Subject: [PATCH 3/4] Set TASTy version to 28.8-experimental-1 acording to procedure. Revert #23093 --- project/Build.scala | 5 ++--- tasty/src/dotty/tools/tasty/TastyFormat.scala | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/project/Build.scala b/project/Build.scala index 200bcc977044..58d1b77f3cd1 100644 --- a/project/Build.scala +++ b/project/Build.scala @@ -141,9 +141,8 @@ object Build { * - in release candidate branch is experimental if {patch == 0} * - in stable release is always non-experimetnal */ - val expectedTastyVersion = "28.7-experimental-1" - // TODO: Restore test when upgrading reference compiler to 3.7.0 stable - // checkReleasedTastyVersion() + val expectedTastyVersion = "28.8-experimental-1" + checkReleasedTastyVersion() /** Final version of Scala compiler, controlled by environment variables. */ val dottyVersion = { diff --git a/tasty/src/dotty/tools/tasty/TastyFormat.scala b/tasty/src/dotty/tools/tasty/TastyFormat.scala index de3700c667a4..37e3a3acfdab 100644 --- a/tasty/src/dotty/tools/tasty/TastyFormat.scala +++ b/tasty/src/dotty/tools/tasty/TastyFormat.scala @@ -324,7 +324,7 @@ object TastyFormat { * compatibility, but remains backwards compatible, with all * preceding `MinorVersion`. */ - final val MinorVersion: Int = 7 + final val MinorVersion: Int = 8 /** Natural Number. The `ExperimentalVersion` allows for * experimentation with changes to TASTy without committing From d8db299754bb6fa4c9914dc3740a83580259f6eb Mon Sep 17 00:00:00 2001 From: Wojciech Mazur Date: Mon, 5 May 2025 16:40:09 +0200 Subject: [PATCH 4/4] Retrigger CI with [test_non_bootstrapped]