Skip to content

Commit a902b75

Browse files
Fix #10077: Add regression test
1 parent 03c2cb1 commit a902b75

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

tests/pos/10077.scala

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
trait T[F[_[_]]]
2+
3+
type Inner[x] = [X[_]] =>> x match { case T[f] => f[X] }
4+
5+
trait Monad[F[_]]
6+
type TMonad = T[Monad]
7+
8+
trait U[T0]:
9+
type T0_member = T0
10+
def f(x: Inner[T0][List]): Unit
11+
12+
class X extends U[T[Monad]]:
13+
def f(x: Inner[T0_member][List]): Unit = ???

0 commit comments

Comments
 (0)