Skip to content

Commit 6a690bf

Browse files
committed
Allow deep subtypes when compiling stdlib test
1 parent 1fbfbe1 commit 6a690bf

File tree

2 files changed

+213
-207
lines changed

2 files changed

+213
-207
lines changed

compiler/test/dotty/tools/dotc/CompilationTests.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class CompilationTests {
4444
// Run tests for legacy lazy vals
4545
compileFilesInDir("tests/pos", defaultOptions.and("-Ysafe-init", "-Ylegacy-lazy-vals", "-Ycheck-constraint-deps"), FileFilter.include(TestSources.posLazyValsAllowlist)),
4646
compileDir("tests/pos-special/java-param-names", defaultOptions.withJavacOnlyOptions("-parameters")),
47-
compileDir("tests/pos-special/stdlib", defaultOptions),
47+
compileDir("tests/pos-special/stdlib", allowDeepSubtypes),
4848
)
4949

5050
if scala.util.Properties.isJavaAtLeast("16") then

0 commit comments

Comments
 (0)