summaryrefslogblamecommitdiff
path: root/test/files/pos/bug1085.scala
blob: 8330b7e399e6033f592845f9c0b0fe6359d35458 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                                           
trait Functor[a] {
	type MyType[a]
}

object Test {
  def listFunctor[a]: Functor[a]{type MyType[x]=List[x]} = new Functor[a] {
    type MyType[t]=List[t]
  }
}