blob: 731a798301cb9d63f9c1860b7aa810221ef5684c (
plain) (
tree)
|
|
t5380.scala:3: warning: a pure expression does nothing in statement position; you may be omitting necessary parentheses
val f = () => return try { 1 } catch { case _: Throwable => 0 }
^
t5380.scala:3: warning: a pure expression does nothing in statement position; you may be omitting necessary parentheses
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 }
^
|