Skip to content

Commit c5cd3ae

Browse files
committed
Fix bootstrapped compiler tests
1 parent 609d29f commit c5cd3ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/test/dotty/tools/vulpix/TestConfiguration.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ object TestConfiguration {
7373
val bestEffortBaselineOptions = TestFlags(basicClasspath, noCheckOptions)
7474
val unindentOptions = TestFlags(basicClasspath, Array("-no-indent") ++ checkOptions ++ noCheckOptions ++ yCheckOptions)
7575
val withCompilerOptions =
76-
defaultOptions.withClasspath(withCompilerClasspath).withRunClasspath(withCompilerClasspath)
76+
defaultOptions.and("-Yexplicit-nulls").withClasspath(withCompilerClasspath).withRunClasspath(withCompilerClasspath)
7777
lazy val withStagingOptions =
7878
defaultOptions.withClasspath(withStagingClasspath).withRunClasspath(withStagingClasspath)
7979
lazy val withTastyInspectorOptions =
@@ -89,7 +89,7 @@ object TestConfiguration {
8989
"-Yprint-pos-syms"
9090
)
9191
val picklingWithCompilerOptions =
92-
picklingOptions.withClasspath(withCompilerClasspath).withRunClasspath(withCompilerClasspath)
92+
picklingOptions.and("-Yexplicit-nulls").withClasspath(withCompilerClasspath).withRunClasspath(withCompilerClasspath)
9393

9494
val explicitNullsOptions = defaultOptions and "-Yexplicit-nulls"
9595

0 commit comments

Comments
 (0)