blob: da433865729e12ea04e0b335a1c90524a5620f1a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
class A {
def whatever() {
lazy val a = 1
lazy val b = try { 2 } catch { case _ => 0 }
a
b
}
}
object Test {
def main(a: Array[String]) {
val a = new A
a.whatever
}
}
|