blob: 7dc7a92df283cc7bebfe7e05d8337704691e22c4 (
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 _: Throwable => 0 }
a
b
}
}
object Test {
def main(a: Array[String]) {
val a = new A
a.whatever
}
}
|