@@ -40,8 +40,8 @@ class CompilationTests extends ParallelTesting {
4040 compileList(" compileStdLib" , StdLibSources .whitelisted, scala2Mode.and(" -migration" , " -Yno-inline" )) +
4141 compileDir(" ../compiler/src/dotty/tools/dotc/ast" , defaultOptions) +
4242 compileDir(" ../compiler/src/dotty/tools/dotc/config" , defaultOptions) +
43- compileDir(" ../compiler/src/dotty/tools/dotc/core" , allowDeepSubtypes ) +
44- compileDir(" ../compiler/src/dotty/tools/dotc/transform" , allowDeepSubtypes ) +
43+ compileDir(" ../compiler/src/dotty/tools/dotc/core" , defaultOptions ) +
44+ compileDir(" ../compiler/src/dotty/tools/dotc/transform" , defaultOptions ) +
4545 compileDir(" ../compiler/src/dotty/tools/dotc/parsing" , defaultOptions) +
4646 compileDir(" ../compiler/src/dotty/tools/dotc/printing" , defaultOptions) +
4747 compileDir(" ../compiler/src/dotty/tools/dotc/reporting" , defaultOptions) +
@@ -51,7 +51,6 @@ class CompilationTests extends ParallelTesting {
5151 compileDir(" ../compiler/src/dotty/tools/dotc/core" , TestFlags (classPath, noCheckOptions)) +
5252 compileFile(" ../tests/pos/nullarify.scala" , defaultOptions.and(" -Ycheck:nullarify" )) +
5353 compileFile(" ../tests/pos-scala2/rewrites.scala" , scala2Mode.and(" -rewrite" )).copyToTarget() +
54- compileFile(" ../tests/pos-special/t8146a.scala" , allowDeepSubtypes) +
5554 compileFile(" ../tests/pos-special/utf8encoded.scala" , explicitUTF8) +
5655 compileFile(" ../tests/pos-special/utf16encoded.scala" , explicitUTF16) +
5756 compileList(
@@ -198,8 +197,8 @@ class CompilationTests extends ParallelTesting {
198197 // lower level of concurrency as to not kill their running VMs
199198
200199 @ Test def testPickling : Unit = {
201- compileDir(" ../compiler/src/dotty/tools" , picklingOptionsAllowDeepSubTypes ) +
202- compileDir(" ../compiler/src/dotty/tools/dotc" , picklingOptionsAllowDeepSubTypes ) +
200+ compileDir(" ../compiler/src/dotty/tools" , picklingOptions ) +
201+ compileDir(" ../compiler/src/dotty/tools/dotc" , picklingOptions ) +
203202 compileFilesInDir(" ../tests/new" , picklingOptions) +
204203 compileFilesInDir(" ../tests/pickling" , picklingOptions) +
205204 compileDir(" ../library/src/dotty/runtime" , picklingOptions) +
@@ -211,7 +210,7 @@ class CompilationTests extends ParallelTesting {
211210 compileDir(" ../compiler/src/dotty/tools/dotc/printing" , picklingOptions) +
212211 compileDir(" ../compiler/src/dotty/tools/repl" , picklingOptions) +
213212 compileDir(" ../compiler/src/dotty/tools/dotc/rewrite" , picklingOptions) +
214- compileDir(" ../compiler/src/dotty/tools/dotc/transform" , picklingOptionsAllowDeepSubTypes ) +
213+ compileDir(" ../compiler/src/dotty/tools/dotc/transform" , picklingOptions ) +
215214 compileDir(" ../compiler/src/dotty/tools/dotc/typer" , picklingOptions) +
216215 compileDir(" ../compiler/src/dotty/tools/dotc/util" , picklingOptions) +
217216 compileDir(" ../compiler/src/dotty/tools/io" , picklingOptions) +
@@ -237,7 +236,7 @@ class CompilationTests extends ParallelTesting {
237236
238237 def lib =
239238 compileDir(" ../library/src" ,
240- allowDeepSubtypes .and(" -Ycheck-reentrant" , " -strict" , " -priorityclasspath" , defaultOutputDir))
239+ defaultOptions .and(" -Ycheck-reentrant" , " -strict" , " -priorityclasspath" , defaultOutputDir))
241240
242241 val compilerDir = Paths .get(" ../compiler/src" )
243242 val compilerSources = sources(Files .walk(compilerDir))
0 commit comments