blob: e4c7b3a801a6f11c74e76d92f1ffb383fd45e970 (
plain) (
tree)
|
|
import scala._;
module test {
def f[a <: java.lang.Object](x: a) = {
def print() = java.lang.System.out.println(x);
class A() {
def g() = {
class B() {
def h() = print()
}
new B().h()
}
}
new A().g()
}
}
|