#.require. jvm # try catch in expression not an assignment class TryExpr def main is shared x = 0 x = 4 + try int.parse('123') catch FormatException get 0 - 2 # .error. target of an assignment CobraCore.noOp(x) assert x == 0 # should never get here