diff options
author | Paul Phillips <paulp@improving.org> | 2009-03-13 16:48:57 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2009-03-13 16:48:57 +0000 |
commit | a7ea09750252edb05465232db0ee2e4ed8ac4039 (patch) | |
tree | 3d46560182bbe932da980e9ae879c9d0af9ad2f8 /lib | |
parent | 5f0edd35f0264789c3b5200f3cf7ec1b95335837 (diff) | |
download | scala-a7ea09750252edb05465232db0ee2e4ed8ac4039.tar.gz scala-a7ea09750252edb05465232db0ee2e4ed8ac4039.tar.bz2 scala-a7ea09750252edb05465232db0ee2e4ed8ac4039.zip |
Modifies try/catch/finally to allow arbitrary e...
Modifies try/catch/finally to allow arbitrary expressions for try.
Formerly { ... } was required for try. Now expressions like:
val x = try Integer.parseInt("xx") catch { case e => 10 }
work as one would hope.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions