Skip to content

Commit 71dd329

Browse files
committed
Test case #12077
1 parent 0ef4944 commit 71dd329

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/pos/i12077.scala

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)