Issue #595 has been updated by naruse (Yui NARUSE).


ko1 (Koichi Sasada) wrote:
> ????????????? 3.0 ??????????????????

3?????話????????????大?????????????????????????????????????????仰????????????3.0??????????????
???????????????????????????????????
----------------------------------------
Bug #595: Fiber ignores ensure clause
https://bugs.ruby-lang.org/issues/595#change-28435

Author: ko1 (Koichi Sasada)
Status: Assigned
Priority: Normal
Assignee: ko1 (Koichi Sasada)
Category: core
Target version: 3.0
ruby -v: -


=begin
 Ruby ??????????????Fiber ??? ensure ???????????????
 ??????????????????????????????????????????????????????????????
 10??????????????????????????????????????????????????????????????????
 
 fib = Fiber.new{
   begin
     Fiber.yield :ok
   ensure
     puts "should be print out"
   end
 }
 p fib.resume
=end



-- 
http://bugs.ruby-lang.org/