Skip to content

Commit fdb361e

Browse files
hamzaremmalWojciechMazur
authored andcommitted
chore: do not Ycheck trees in scala2-library
[Cherry-picked ee8e798]
1 parent 831ff76 commit fdb361e

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
@@ -1237,11 +1237,8 @@ object Build {
12371237
withCommonSettings(Bootstrapped).
12381238
dependsOn(dottyCompiler(Bootstrapped) % "provided; compile->runtime; test->test").
12391239
settings(scala2LibraryBootstrappedSettings).
1240-
settings(
1241-
moduleName := "scala2-library-cc",
1242-
scalacOptions += "-Ycheck:all",
1243-
)
1244-
1240+
settings(moduleName := "scala2-library-cc")
1241+
12451242
lazy val scala2LibraryBootstrappedSettings = Seq(
12461243
javaOptions := (`scala3-compiler-bootstrapped` / javaOptions).value,
12471244
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)