blob: 4c80d0954dfa1ded4f6ba323ded134857fb34c3c (
plain) (
tree)
|
|
object Test {
class E[@specialized(Int) A](var f: A => Boolean) {
def this() = this(null)
println("hello?")
if (f == null) f = { _ => false }
}
def main(args: Array[String]) {
new E[Int]
println("goodbye")
}
}
|