aboutsummaryrefslogblamecommitdiff
path: root/tests/pending/pos/depsel.scala
blob: 2cec4349e18d41f80a9c239c6ef527fc22220238 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                                                       
// demonstrates selection on non-path types. Needs to be fleshed out to
// become a real test.
object Test {

  class C {
    type T
    val f: T => T = ???
  }

  var x = new C
  val y = x.f


}