Skip to content

Commit 95f5273

Browse files
committed
Fix test
i3882.scala can be compiled only if deep subtypes are allowed.
1 parent 5c557cd commit 95f5273

File tree

2 files changed

+1
-0
lines changed

2 files changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ class CompilationTests extends ParallelTesting {
191191
compileFile("../tests/neg-custom-args/pureStatement.scala", defaultOptions.and("-Xfatal-warnings")) +
192192
compileFile("../tests/neg-custom-args/i3589-a.scala", defaultOptions.and("-Xfatal-warnings")) +
193193
compileFile("../tests/neg-custom-args/i2333.scala", defaultOptions.and("-Xfatal-warnings")) +
194+
compileFile("../tests/neg-custom-args/i3882.scala", allowDeepSubtypes) +
194195
compileFile("../tests/neg-custom-args/phantom-overload.scala", allowDoubleBindings) +
195196
compileFile("../tests/neg-custom-args/phantom-overload-2.scala", allowDoubleBindings) +
196197
compileFile("../tests/neg-custom-args/structural.scala", defaultOptions.and("-Xfatal-warnings"))
File renamed without changes.

0 commit comments

Comments
 (0)