Skip to content

Commit ac5e534

Browse files
authored
Merge pull request #13264 from dotty-staging/fix-10077
Fix #10077: Add regression test
2 parents fea778d + a902b75 commit ac5e534

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

tests/pos/10077.scala

+13
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)