DEBSOURCES
Skip Quicknav
sources / scala / 2.9.2%2Bdfsg-2 / 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] b.f.x }