summaryrefslogtreecommitdiff
path: root/test/pending/neg/bug1210.scala
blob: fc2c954ff2618063bd3ed976f37259c8b8decc3f (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)
  }
}