Skip to content

Commit ae0411c

Browse files
committed
One more test case, coming from #214.
1 parent 291b563 commit ae0411c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

test/dotc/tests.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ class tests extends CompilerTest {
107107
@Test def neg_cycles = compileFile(negDir, "cycles", xerrors = 8)
108108
@Test def neg_boundspropagation = compileFile(negDir, "boundspropagation", xerrors = 4)
109109
@Test def neg_refinedSubtyping = compileFile(negDir, "refinedSubtyping", xerrors = 2)
110-
@Test def neg_i0248_inherit_refined = compileFile(negDir, "i0248-inherit-refined", xerrors = 3)
110+
@Test def neg_i0248_inherit_refined = compileFile(negDir, "i0248-inherit-refined", xerrors = 4)
111111

112112
@Test def dotc = compileDir(dotcDir + "tools/dotc", twice)(allowDeepSubtypes)
113113
@Test def dotc_ast = compileDir(dotcDir + "tools/dotc/ast", twice)

tests/neg/i0248-inherit-refined.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ object test {
66
class C extends Y
77
type Z = A | B
88
class D extends Z
9+
abstract class A extends ({ val x: Int })
910
}

0 commit comments

Comments
 (0)