mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
1f2d786e32
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` ```