summaryrefslogtreecommitdiff
path: root/test/files/pos/ticket2197.scala
blob: 3c9a04f8bd6f205192ff7af7a4bb1913866f97e4 (plain) (blame)
1
2
3
4
5
6
7
trait PartialType[T[_, _], A] {
  type Apply[B] = T[A, B]
}

sealed trait State[S, +A]
trait Pure[P[_]]
trait StatePure[X] extends Pure[PartialType[State, X]#Apply]