@@ -210,8 +210,8 @@ class CompilationTests {
210210    implicit  val  testGroup :  TestGroup  =  TestGroup (" explicitNullsNeg"  )
211211    aggregateTests(
212212      compileFilesInDir(" tests/explicit-nulls/neg"  , explicitNullsOptions, FileFilter .exclude(TestSources .negExplicitNullsScala2LibraryTastyExcludelisted)),
213-       compileFilesInDir(" tests/explicit-nulls/flexible-types-common"  , explicitNullsOptions and " -Yno-flexible-types"  ),
214-       compileFilesInDir(" tests/explicit-nulls/unsafe-common"  , explicitNullsOptions and " -Yno-flexible-types"  , FileFilter .exclude(TestSources .negExplicitNullsScala2LibraryTastyExcludelisted)),
213+       compileFilesInDir(" tests/explicit-nulls/flexible-types-common"  , explicitNullsOptions ` and`  " -Yno-flexible-types"  ),
214+       compileFilesInDir(" tests/explicit-nulls/unsafe-common"  , explicitNullsOptions ` and`  " -Yno-flexible-types"  , FileFilter .exclude(TestSources .negExplicitNullsScala2LibraryTastyExcludelisted)),
215215    ).checkExpectedErrors()
216216
217217    locally {
@@ -231,12 +231,12 @@ class CompilationTests {
231231    aggregateTests(
232232      compileFilesInDir(" tests/explicit-nulls/pos"  , explicitNullsOptions),
233233      compileFilesInDir(" tests/explicit-nulls/flexible-types-common"  , explicitNullsOptions),
234-       compileFilesInDir(" tests/explicit-nulls/unsafe-common"  , explicitNullsOptions and " -language:unsafeNulls"   and " -Yno-flexible-types"  ),
234+       compileFilesInDir(" tests/explicit-nulls/unsafe-common"  , explicitNullsOptions ` and`  " -language:unsafeNulls"   ` and`  " -Yno-flexible-types"  ),
235235    ).checkCompile()
236236
237237    locally {
238238      val  tests  =  List (
239-         compileFile(" tests/explicit-nulls/flexible-unpickle/pos/Unsafe_1.scala"  , explicitNullsOptions without " -Yexplicit-nulls"  ),
239+         compileFile(" tests/explicit-nulls/flexible-unpickle/pos/Unsafe_1.scala"  , explicitNullsOptions ` without`  " -Yexplicit-nulls"  ),
240240        compileFile(" tests/explicit-nulls/flexible-unpickle/pos/Flexible_2.scala"  ,
241241        explicitNullsOptions.and(" -Yflexify-tasty"  ).withClasspath(defaultOutputDir +  testGroup +  " /Unsafe_1/pos/Unsafe_1"  )),
242242      ).map(_.keepOutput.checkCompile())
@@ -289,9 +289,9 @@ class CompilationTests {
289289      val  outDir2  =  defaultOutputDir +  i12128Group +  " /Macro_2/i12128/Macro_2" 
290290
291291      val  tests  =  List (
292-         compileFile(" tests/init/special/i12128/Reflect_1.scala"  , i12128Options)(i12128Group),
293-         compileFile(" tests/init/special/i12128/Macro_2.scala"  , i12128Options.withClasspath(outDir1))(i12128Group),
294-         compileFile(" tests/init/special/i12128/Test_3.scala"  , options.withClasspath(outDir2))(i12128Group)
292+         compileFile(" tests/init/special/i12128/Reflect_1.scala"  , i12128Options)(using   i12128Group),
293+         compileFile(" tests/init/special/i12128/Macro_2.scala"  , i12128Options.withClasspath(outDir1))(using   i12128Group),
294+         compileFile(" tests/init/special/i12128/Test_3.scala"  , options.withClasspath(outDir2))(using   i12128Group)
295295      ).map(_.keepOutput.checkCompile())
296296
297297      tests.foreach(_.delete())
@@ -310,12 +310,12 @@ class CompilationTests {
310310      val  classB1  =  defaultOutputDir +  tastyErrorGroup +  " /B/v1/B" 
311311
312312      val  tests  =  List (
313-         compileFile(" tests/init/tasty-error/val-or-defdef/v1/A.scala"  , tastyErrorOptions)(tastyErrorGroup),
314-         compileFile(" tests/init/tasty-error/val-or-defdef/v1/B.scala"  , tastyErrorOptions.withClasspath(classA1))(tastyErrorGroup),
315-         compileFile(" tests/init/tasty-error/val-or-defdef/v0/A.scala"  , tastyErrorOptions)(tastyErrorGroup),
313+         compileFile(" tests/init/tasty-error/val-or-defdef/v1/A.scala"  , tastyErrorOptions)(using   tastyErrorGroup),
314+         compileFile(" tests/init/tasty-error/val-or-defdef/v1/B.scala"  , tastyErrorOptions.withClasspath(classA1))(using   tastyErrorGroup),
315+         compileFile(" tests/init/tasty-error/val-or-defdef/v0/A.scala"  , tastyErrorOptions)(using   tastyErrorGroup),
316316      ).map(_.keepOutput.checkCompile())
317317
318-       compileFile(" tests/init/tasty-error/val-or-defdef/Main.scala"  , tastyErrorOptions.withClasspath(classA0).withClasspath(classB1))(tastyErrorGroup).checkExpectedErrors()
318+       compileFile(" tests/init/tasty-error/val-or-defdef/Main.scala"  , tastyErrorOptions.withClasspath(classA0).withClasspath(classB1))(using   tastyErrorGroup).checkExpectedErrors()
319319
320320      tests.foreach(_.delete())
321321    }
@@ -334,13 +334,13 @@ class CompilationTests {
334334      val  classB1  =  defaultOutputDir +  tastyErrorGroup +  " /B/v1/B" 
335335
336336      val  tests  =  List (
337-         compileFile(" tests/init/tasty-error/typedef/C.scala"  , tastyErrorOptions)(tastyErrorGroup),
338-         compileFile(" tests/init/tasty-error/typedef/v1/A.scala"  , tastyErrorOptions.withClasspath(classC))(tastyErrorGroup),
339-         compileFile(" tests/init/tasty-error/typedef/v1/B.scala"  , tastyErrorOptions.withClasspath(classC).withClasspath(classA1))(tastyErrorGroup),
340-         compileFile(" tests/init/tasty-error/typedef/v0/A.scala"  , tastyErrorOptions.withClasspath(classC))(tastyErrorGroup),
337+         compileFile(" tests/init/tasty-error/typedef/C.scala"  , tastyErrorOptions)(using   tastyErrorGroup),
338+         compileFile(" tests/init/tasty-error/typedef/v1/A.scala"  , tastyErrorOptions.withClasspath(classC))(using   tastyErrorGroup),
339+         compileFile(" tests/init/tasty-error/typedef/v1/B.scala"  , tastyErrorOptions.withClasspath(classC).withClasspath(classA1))(using   tastyErrorGroup),
340+         compileFile(" tests/init/tasty-error/typedef/v0/A.scala"  , tastyErrorOptions.withClasspath(classC))(using   tastyErrorGroup),
341341      ).map(_.keepOutput.checkCompile())
342342
343-       compileFile(" tests/init/tasty-error/typedef/Main.scala"  , tastyErrorOptions.withClasspath(classC).withClasspath(classA0).withClasspath(classB1))(tastyErrorGroup).checkExpectedErrors()
343+       compileFile(" tests/init/tasty-error/typedef/Main.scala"  , tastyErrorOptions.withClasspath(classC).withClasspath(classA0).withClasspath(classB1))(using   tastyErrorGroup).checkExpectedErrors()
344344
345345      tests.foreach(_.delete())
346346    }
0 commit comments