We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 54a75d4 + d4aba3c commit fbc9d0aCopy full SHA for fbc9d0a
tests/pos/6362.scala
@@ -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