summaryrefslogtreecommitdiff
path: root/test/pending/neg/bug1210.scala
blob: b4c9c703be8049e573fca2d3f154316574e4ba65 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
object Test {
  def id[T](f: T => T): T = error("bla")

  abstract class M { self =>
  	type Settings
  	type selfType = M {type Settings = self.Settings}

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