diff options
author | Iulian Dragos <jaguarul@gmail.com> | 2011-03-04 16:10:40 +0000 |
---|---|---|
committer | Iulian Dragos <jaguarul@gmail.com> | 2011-03-04 16:10:40 +0000 |
commit | 38adb1426f2d06a6993d3cc579db76efcd92a0ec (patch) | |
tree | 029d0d2e4dff52d04c0601a5ce837e753f7f64cf /test/files/run/finally.check | |
parent | e586206e08e70b22d33152c7802d658577fddcf5 (diff) | |
download | scala-38adb1426f2d06a6993d3cc579db76efcd92a0ec.tar.gz scala-38adb1426f2d06a6993d3cc579db76efcd92a0ec.tar.bz2 scala-38adb1426f2d06a6993d3cc579db76efcd92a0ec.zip |
Fixed several issues with finally, closes #3965.
Diffstat (limited to 'test/files/run/finally.check')
-rw-r--r-- | test/files/run/finally.check | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/test/files/run/finally.check b/test/files/run/finally.check index fa565c8e8a..901a797426 100644 --- a/test/files/run/finally.check +++ b/test/files/run/finally.check @@ -1,5 +1,35 @@ +Running throwCatchFinally hi In Finally java.lang.RuntimeException: ouch +---------------------------------------- +Running retCatch java.lang.Exception in finally +---------------------------------------- +Running throwCatch +java.lang.Exception +in finally +COUGHT: java.lang.Exception +---------------------------------------- +Running retBody +in finally +---------------------------------------- +Running throwBody +java.lang.Exception +in finally +---------------------------------------- +Running retFinally +body +in finally 1 +in finally 2 +---------------------------------------- +Running throwFinally +body +in finally +java.lang.Exception +---------------------------------------- +Running nestedFinalies +in finally 1 +in finally 2 +---------------------------------------- |