summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2017-02-11 21:21:19 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2017-02-11 21:58:47 +0900
commit1f2d786e3220ecb6b3ff95e31f538ce338374c54 (patch)
tree4941d5c44d98ae3c727647ee84ec283ff5657106 /include
parentff03a9a61c62340cff62f8e0fdc1a1e8775b6f17 (diff)
downloadmruby-1f2d786e3220ecb6b3ff95e31f538ce338374c54.tar.gz
mruby-1f2d786e3220ecb6b3ff95e31f538ce338374c54.zip
Avoid direct return from ecall(); fix #3441
There's incompatibility left for mruby. When you return from `ensure` clause, mruby simply ignores the return value. CRuby returns from the method squashing the exception raised. ``` def f no_such_method() # NoMethodError ensure return 22 end p f() # CRuby prints `22` ```
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions