DEBSOURCES
Skip Quicknav
sources / scala / 2.11.12-6 / test / files / neg / t2078.scala
123456789
class A[-S](y : S) { val f = new { val x = y } } object Test extends App { val a = new A(1) val b = a : A[Nothing] println(b.f.x) }