@@ -150,6 +150,7 @@ class CompilationTests extends ParallelTesting {
150
150
aggregateTests(
151
151
compileFilesInDir(" tests/neg" , defaultOptions),
152
152
compileFilesInDir(" tests/neg-tailcall" , defaultOptions),
153
+ compileFilesInDir(" tests/neg-strict" , defaultOptions.and(" -strict" )),
153
154
compileFilesInDir(" tests/neg-no-kind-polymorphism" , defaultOptions and " -Yno-kind-polymorphism" ),
154
155
compileFilesInDir(" tests/neg-custom-args/deprecation" , defaultOptions.and(" -Xfatal-warnings" , " -deprecation" )),
155
156
compileFilesInDir(" tests/neg-custom-args/fatal-warnings" , defaultOptions.and(" -Xfatal-warnings" )),
@@ -160,8 +161,6 @@ class CompilationTests extends ParallelTesting {
160
161
compileFile(" tests/neg-custom-args/i3246.scala" , scala2Mode),
161
162
compileFile(" tests/neg-custom-args/overrideClass.scala" , scala2Mode),
162
163
compileFile(" tests/neg-custom-args/autoTuplingTest.scala" , defaultOptions.and(" -language:noAutoTupling" )),
163
- compileFile(" tests/neg-custom-args/i1050.scala" , defaultOptions.and(" -strict" )),
164
- compileFile(" tests/neg-custom-args/nullless.scala" , defaultOptions.and(" -strict" )),
165
164
compileFile(" tests/neg-custom-args/nopredef.scala" , defaultOptions.and(" -Yno-predef" )),
166
165
compileFile(" tests/neg-custom-args/noimports.scala" , defaultOptions.and(" -Yno-imports" )),
167
166
compileFile(" tests/neg-custom-args/noimports2.scala" , defaultOptions.and(" -Yno-imports" )),
@@ -249,7 +248,9 @@ class CompilationTests extends ParallelTesting {
249
248
250
249
val lib =
251
250
compileList(" src" , librarySources,
252
- defaultOptions.and(" -Ycheck-reentrant" , " -strict" , " -priorityclasspath" , defaultOutputDir))(libGroup)
251
+ defaultOptions.and(" -Ycheck-reentrant" ,
252
+ // "-strict", // TODO: re-enable once we allow : @unchecked in pattern definitions. Right now, lots of narrowing pattern definitions fail.
253
+ " -priorityclasspath" , defaultOutputDir))(libGroup)
253
254
254
255
val compilerSources = sources(Paths .get(" compiler/src" ))
255
256
val compilerManagedSources = sources(Properties .dottyCompilerManagedSources)
0 commit comments