annotate graal/com.oracle.truffle.ruby.test/specs/tags/language/rescue_tags.txt @ 13705:ac5b0f31f7a2
Truffle API-change: FrameDescriptors are now stored in the RootNode in a final field instead of the CallTarget.
author |
Christian Humer <christian.humer@gmail.com> |
date |
Fri, 17 Jan 2014 17:06:08 +0100 |
parents |
0fbee3eb71f0 |
children |
|
rev |
line source |
13514
|
1 fails:The rescue keyword can be used to handle a specific exception
|
|
2 fails:The rescue keyword can capture the raised exception in a local variable
|
|
3 fails:The rescue keyword can rescue multiple raised exceptions with a single rescue block
|
|
4 fails:The rescue keyword can rescue a splatted list of exceptions
|
|
5 fails:The rescue keyword will only rescue the specified exceptions when doing a splat rescue
|
|
6 fails:The rescue keyword will execute an else block only if no exceptions were raised
|
|
7 fails:The rescue keyword will not execute an else block if an exception was raised
|
|
8 fails:The rescue keyword will not rescue errors raised in an else block in the rescue block above it
|
|
9 fails:The rescue keyword parses 'a += b rescue c' as 'a += (b rescue c)'
|