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 0ef4944 commit 71dd329Copy full SHA for 71dd329
tests/pos/i12077.scala
@@ -0,0 +1,7 @@
1
+trait Wrapper[K]
2
+trait Has0[T]
3
+
4
+def test[R](v: Wrapper[Has0[String] with R]):R = ???
5
6
+val zz:Wrapper[Has0[String] with Has0[Int]] = ???
7
+val _ = test(zz)
0 commit comments