summaryrefslogblamecommitdiff
path: root/test/files/pos/t7668.scala
blob: 222a13d03902e3b76b57450c7a8596130b4d312d (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                             
trait Space {
  type T
  val x: T
}

trait Extractor {
  def extract(s: Space): s.T
}

class Sub extends Extractor {
  def extract(s: Space) = s.x
}