Skip to content

Commit ee8e798

Browse files
committed
chore: do not Ycheck trees in scala2-library
1 parent 20c9441 commit ee8e798

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

project/Build.scala

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1236,11 +1236,8 @@ object Build {
12361236
withCommonSettings(Bootstrapped).
12371237
dependsOn(dottyCompiler(Bootstrapped) % "provided; compile->runtime; test->test").
12381238
settings(scala2LibraryBootstrappedSettings).
1239-
settings(
1240-
moduleName := "scala2-library-cc",
1241-
scalacOptions += "-Ycheck:all",
1242-
)
1243-
1239+
settings(moduleName := "scala2-library-cc")
1240+
12441241
lazy val scala2LibraryBootstrappedSettings = Seq(
12451242
javaOptions := (`scala3-compiler-bootstrapped` / javaOptions).value,
12461243
Compile / scalacOptions ++= {

project/scripts/scala2-library-tasty-mima.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ setTastyVersion $MINOR_TASTY_VERSION_SUPPORTED_BY_TASTY_MIMA 0
1818
# We clean before to make sure all sources are recompiled using the new TASTY version.
1919
# We clean after to make sure no other test will use the TASTy generated with this version.
2020
# We set -Ycheck:all to check that -Ycompile-scala2-library does not gererate inconsistent trees.
21-
"$SBT" 'clean; scala2-library-bootstrapped/clean; reload; set `scala2-library-bootstrapped`/scalacOptions += "-Ycheck:all"; scala2-library-bootstrapped/tastyMiMaReportIssues; clean; scala2-library-bootstrapped/clean'
21+
"$SBT" 'clean; scala2-library-bootstrapped/clean; reload; scala2-library-bootstrapped/tastyMiMaReportIssues; clean; scala2-library-bootstrapped/clean'
2222

2323
setTastyVersion $MINOR_TASTY_VERSION $EXPERIMENTAL_TASTY_VERSION

0 commit comments

Comments
 (0)