Skip to content

Commit fbc9d0a

Browse files
Merge pull request #6396 from dotty-staging/fix-6362
Fix #6362: Add regression test
2 parents 54a75d4 + d4aba3c commit fbc9d0a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/pos/6362.scala

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
object Test {
2+
type LeafElem[X] = X match {
3+
case String => Char
4+
case Array[t] => LeafElem[t]
5+
case Iterable[t] => LeafElem[t]
6+
case AnyVal => X
7+
}
8+
}

0 commit comments

Comments
 (0)