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








                                                   
object Test {
  def id[T](f: T => T): T = error("bla")

  abstract class M[Settings] {
  	type selfType = M[Settings]

    val v: selfType = id[M.this.selfType](x => x.v)
  }
}