blob: 19471ac2d241357b5db144edfd11cfd0cc83649e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
t5380.scala:3: warning: a pure expression does nothing in statement position
val f = () => return try { 1 } catch { case _: Throwable => 0 }
^
t5380.scala:3: warning: a pure expression does nothing in statement position
val f = () => return try { 1 } catch { case _: Throwable => 0 }
^
t5380.scala:3: warning: enclosing method main has result type Unit: return value discarded
val f = () => return try { 1 } catch { case _: Throwable => 0 }
^
|