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.
2 parents d487745 + 402a8ae commit c25396cCopy full SHA for c25396c
tests/pos/i5699.scala
@@ -0,0 +1,5 @@
1
+def test = {
2
+ type M = { type T[+A] } & { type T[-A] }
3
+ val M: M = ().asInstanceOf[M]
4
+ M: M
5
+}
0 commit comments