@@ -213,15 +213,16 @@ class CompilationTests {
213
213
compileFilesInDir(" tests/explicit-nulls/unsafe-common" , explicitNullsOptions `and` " -Yno-flexible-types" , FileFilter .exclude(TestSources .negExplicitNullsScala2LibraryTastyExcludelisted)),
214
214
).checkExpectedErrors()
215
215
216
- locally {
217
- val unsafeFile = compileFile(" tests/explicit-nulls/flexible-unpickle/neg/Unsafe_1.scala" , explicitNullsOptions without " -Yexplicit-nulls" )
218
- val flexibleFile = compileFile(" tests/explicit-nulls/flexible-unpickle/neg/Flexible_2.scala" ,
219
- explicitNullsOptions.and(" -Yflexify-tasty" ).withClasspath(defaultOutputDir + testGroup + " /Unsafe_1/neg/Unsafe_1" ))
216
+ // locally {
217
+ // val unsafeFile = compileFile("tests/explicit-nulls/flexible-unpickle/neg/Unsafe_1.scala", explicitNullsOptions without "-Yexplicit-nulls")
218
+ // val flexibleFile = compileFile("tests/explicit-nulls/flexible-unpickle/neg/Flexible_2.scala",
219
+ // explicitNullsOptions.and("-Yflexify-tasty").withClasspath(defaultOutputDir + testGroup + "/Unsafe_1/neg/Unsafe_1"))
220
220
221
- flexibleFile.keepOutput.checkExpectedErrors()
221
+ // unsafeFile.keepOutput.checkCompile()
222
+ // flexibleFile.keepOutput.checkExpectedErrors()
222
223
223
- List (unsafeFile, flexibleFile).foreach(_.delete())
224
- }
224
+ // List(unsafeFile, flexibleFile).foreach(_.delete())
225
+ // }
225
226
}
226
227
227
228
@ Test def explicitNullsPos : Unit = {
@@ -232,15 +233,15 @@ class CompilationTests {
232
233
compileFilesInDir(" tests/explicit-nulls/unsafe-common" , explicitNullsOptions `and` " -language:unsafeNulls" `and` " -Yno-flexible-types" ),
233
234
).checkCompile()
234
235
235
- locally {
236
- val tests = List (
237
- compileFile(" tests/explicit-nulls/flexible-unpickle/pos/Unsafe_1.scala" , explicitNullsOptions ` without` " -Yexplicit-nulls" ),
238
- compileFile(" tests/explicit-nulls/flexible-unpickle/pos/Flexible_2.scala" ,
239
- explicitNullsOptions.and(" -Yflexify-tasty" ).withClasspath(defaultOutputDir + testGroup + " /Unsafe_1/pos/Unsafe_1" )),
240
- ).map(_.keepOutput.checkCompile())
236
+ // locally {
237
+ // val tests = List(
238
+ // compileFile("tests/explicit-nulls/flexible-unpickle/pos/Unsafe_1.scala", explicitNullsOptions without "-Yexplicit-nulls"),
239
+ // compileFile("tests/explicit-nulls/flexible-unpickle/pos/Flexible_2.scala",
240
+ // explicitNullsOptions.and("-Yflexify-tasty").withClasspath(defaultOutputDir + testGroup + "/Unsafe_1/pos/Unsafe_1")),
241
+ // ).map(_.keepOutput.checkCompile())
241
242
242
- tests.foreach(_.delete())
243
- }
243
+ // tests.foreach(_.delete())
244
+ // }
244
245
}
245
246
246
247
@ Test def explicitNullsWarn : Unit = {
0 commit comments