Skip to content

Commit 40956e1

Browse files
Downgrade referenceVersion to 3.6.0 and add notes how referenceVersion should be set (#21813)
The main branch should always use a compiler with experimental tasty - it's required for non_boostrapped tests to pass. It's required because we cannot consume stable version of tasty from it's experimental subversion (it's assumed that stable version > experimental version for the same major/minor pair) We pick 3.6.0 (released by mistake during 3.6.0-RC1) because that's the last non-stable version pushed to Maven. Typically we would use the last RC version [test_non_bootstrapped]
1 parent bcbdb5e commit 40956e1

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Diff for: project/Build.scala

+7-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,13 @@ object DottyJSPlugin extends AutoPlugin {
9191
object Build {
9292
import ScaladocConfigs._
9393

94-
val referenceVersion = "3.6.1"
94+
/** Version of the Scala compiler used to build the artifacts.
95+
* Reference version should track the latest version pushed to Maven:
96+
* - In main branch it should be the last RC version (using experimental TASTy required for non-bootstrapped tests)
97+
* - In release branch it should be the last stable release
98+
* 3.6.0-RC1 was released as 3.6.0 - it's having and experimental TASTy version
99+
*/
100+
val referenceVersion = "3.6.0"
95101

96102
val baseVersion = "3.6.2"
97103
// Will be required by some automation later

0 commit comments

Comments
 (0)