@@ -144,6 +144,7 @@ class CompilationTests extends ParallelTesting {
144
144
implicit val testGroup : TestGroup = TestGroup (" compileNeg" )
145
145
compileFilesInDir(" tests/neg" , defaultOptions) +
146
146
compileFilesInDir(" tests/neg-tailcall" , defaultOptions) +
147
+ compileFilesInDir(" tests/neg-strict" , defaultOptions.and(" -strict" )) +
147
148
compileFilesInDir(" tests/neg-no-kind-polymorphism" , defaultOptions and " -Yno-kind-polymorphism" ) +
148
149
compileFilesInDir(" tests/neg-custom-args/deprecation" , defaultOptions.and(" -Xfatal-warnings" , " -deprecation" )) +
149
150
compileFilesInDir(" tests/neg-custom-args/fatal-warnings" , defaultOptions.and(" -Xfatal-warnings" )) +
@@ -154,8 +155,6 @@ class CompilationTests extends ParallelTesting {
154
155
compileFile(" tests/neg-custom-args/i3246.scala" , scala2Mode) +
155
156
compileFile(" tests/neg-custom-args/overrideClass.scala" , scala2Mode) +
156
157
compileFile(" tests/neg-custom-args/autoTuplingTest.scala" , defaultOptions.and(" -language:noAutoTupling" )) +
157
- compileFile(" tests/neg-custom-args/i1050.scala" , defaultOptions.and(" -strict" )) +
158
- compileFile(" tests/neg-custom-args/nullless.scala" , defaultOptions.and(" -strict" )) +
159
158
compileFile(" tests/neg-custom-args/nopredef.scala" , defaultOptions.and(" -Yno-predef" )) +
160
159
compileFile(" tests/neg-custom-args/noimports.scala" , defaultOptions.and(" -Yno-imports" )) +
161
160
compileFile(" tests/neg-custom-args/noimports2.scala" , defaultOptions.and(" -Yno-imports" )) +
@@ -237,7 +236,9 @@ class CompilationTests extends ParallelTesting {
237
236
238
237
val lib =
239
238
compileList(" src" , librarySources,
240
- defaultOptions.and(" -Ycheck-reentrant" , " -strict" , " -priorityclasspath" , defaultOutputDir))(libGroup)
239
+ defaultOptions.and(" -Ycheck-reentrant" ,
240
+ // "-strict", // TODO: re-enable once we allow : @unchecked in pattern definitions. Right now, lots of narrowing pattern definitions fail.
241
+ " -priorityclasspath" , defaultOutputDir))(libGroup)
241
242
242
243
val compilerSources = sources(Paths .get(" compiler/src" ))
243
244
val compilerManagedSources = sources(Properties .dottyCompilerManagedSources)
0 commit comments