summaryrefslogtreecommitdiff
path: root/test/files/neg/abstraction-from-volatile-type-error.scala
blob: 5afcb3ec7d1e6730c7c791b80fa7065cb515e39d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
class A {
  type T
  type Tv = AnyRef with T
}

object Test {
  type B = a.type forSome {
    val a : A
    val tv : a.Tv
  }
}