Skip to content

Commit a10622a

Browse files
committed
chore: disable Ycheck
1 parent ec7f595 commit a10622a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

project/Build.scala

+2-2
Original file line numberDiff line numberDiff line change
@@ -1239,7 +1239,7 @@ object Build {
12391239
settings(scala2LibraryBootstrappedSettings).
12401240
settings(
12411241
moduleName := "scala2-library-cc",
1242-
scalacOptions += "-Ycheck:all",
1242+
//scalacOptions += "-Ycheck:all",
12431243
)
12441244

12451245
lazy val scala2LibraryBootstrappedSettings = Seq(
@@ -1698,7 +1698,7 @@ object Build {
16981698
(Test / scalaJSModuleInitializers) ++= build.TestSuiteLinkerOptions.moduleInitializers,
16991699

17001700
// Perform Ycheck after the Scala.js-specific transformation phases
1701-
scalacOptions += "-Ycheck:prepjsinterop,explicitJSClasses,addLocalJSFakeNews",
1701+
//scalacOptions += "-Ycheck:prepjsinterop,explicitJSClasses,addLocalJSFakeNews",
17021702

17031703
Test / jsEnvInput := {
17041704
val resourceDir = fetchScalaJSSource.value / "test-suite/js/src/test/resources"

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

+1-1
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)