Skip to content

Commit dd6e5ea

Browse files
paulpadriaanm
authored andcommitted
SI-6897, lubs and varargs star.
Don't allow lubs to calculate refinement types which contain a varargs star outside of legal varargs star position.
1 parent d787f67 commit dd6e5ea

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/files/pos/t6897.scala

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
class A {
2+
val html = (null: Any) match {
3+
case 1 => <xml:group></xml:group>
4+
case 2 => <p></p>
5+
}
6+
}

0 commit comments

Comments
 (0)