You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
case other => sys.error(s"Invalid TASTy version string: $expectedTastyVersion")
2121
2121
}
2122
+
valisLTS= versionLine =="LTS"
2122
2123
2123
2124
if(isNightly) {
2124
-
assert(tastyIsExperimental, "TASTY needs to be experimental in nightly builds")
2125
+
assert(tastyIsExperimental|| isLTS, "TASTY needs to be experimental in nightly builds")
2125
2126
valexpectedTastyMinor= version.patch match {
2126
2127
case0=> version.minor
2127
2128
case1if referenceV.patch ==0&& referenceV.isRC =>
2128
2129
// Special case for a period when reference version is a new unstable minor
2129
2130
// Needed for non_bootstrapped tests requiring either stable tasty or the same experimental version produced by both reference and bootstrapped compiler
2130
2131
assert(version.minor == referenceV.minor, "Expected reference and base version to use the same minor")
2131
2132
version.minor
2132
-
case _ => version.minor +1
2133
+
case _ =>
2134
+
if (isLTS) version.minor
2135
+
else version.minor +1
2133
2136
}
2134
-
assert(tastyMinor == expectedTastyMinor, "Invalid TASTy minor version")
0 commit comments