summaryrefslogblamecommitdiff
path: root/test/files/pos/t8060.scala
blob: 90e014d74b49a2a88a62001aaf9645f8dbbbd6c9 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                 
trait M[F[_]]
 
trait P[A] {
  type CC[X] = P[X]
  def f(p: A => Boolean): M[CC]
}
 
trait Other {
  // was infinite loop trying to dealias `x$1.CC`
  def g[A](p: A => Boolean): P[A] => M[P] = _ f p
}