File tree Expand file tree Collapse file tree
src/compiler/scala/tools/tasty Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import sbt.librarymanagement.{
1212 * Settings to support validation of TastyUnpickler against the release of dotty with the matching TASTy version
1313 */
1414object TastySupport {
15- val supportedTASTyRelease = " 3.2.0-RC4 " // TASTy version 28.2-1
15+ val supportedTASTyRelease = " 3.2.0" // TASTy version 28.2-0
1616 val scala3Compiler = " org.scala-lang" % " scala3-compiler_3" % supportedTASTyRelease
1717 val scala3Library = " org.scala-lang" % " scala3-library_3" % supportedTASTyRelease
1818
@@ -26,7 +26,7 @@ object TastySupport {
2626 * Dotty in .travis.yml.
2727 */
2828object DottySupport {
29- val dottyVersion = " 3.2.0-RC4 "
29+ val dottyVersion = " 3.2.0"
3030 val compileWithDotty : Boolean =
3131 Option (System .getProperty(" scala.build.compileWithDotty" )).map(_.toBoolean).getOrElse(false )
3232 lazy val commonSettings = Seq (
Original file line number Diff line number Diff line change @@ -44,18 +44,14 @@ class TastyHeaderUnpickler(reader: TastyReader) {
4444 start
4545 }
4646
47- val validVersion = {
48- val stdCheck = TastyFormat .isVersionCompatible(
49- fileMajor = fileMajor,
50- fileMinor = fileMinor,
51- fileExperimental = fileExperimental,
52- compilerMajor = MajorVersion ,
53- compilerMinor = MinorVersion ,
54- compilerExperimental = ExperimentalVersion
55- )
56- val fallback = fileMajor == 28 && fileMinor == 2 && fileExperimental == 1 // 3.2.0-RC1
57- stdCheck || fallback
58- }
47+ val validVersion = TastyFormat .isVersionCompatible(
48+ fileMajor = fileMajor,
49+ fileMinor = fileMinor,
50+ fileExperimental = fileExperimental,
51+ compilerMajor = MajorVersion ,
52+ compilerMinor = MinorVersion ,
53+ compilerExperimental = ExperimentalVersion
54+ )
5955
6056 check(validVersion, {
6157 val signature = signatureString(fileMajor, fileMinor, fileExperimental)
You can’t perform that action at this time.
0 commit comments