We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fdf9ccc commit d4aba3cCopy full SHA for d4aba3c
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