Issue #595 has been updated by Yui NARUSE.


RubySpec ????????????????????????
core/fiber/resume_spec.rb
----------------------------------------
Bug #595: Fiber ignores ensure clause
http://redmine.ruby-lang.org/issues/595

Author: Koichi Sasada
Status: Assigned
Priority: Normal
Assignee: Koichi Sasada
Category: core
Target version: 1.9.x
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://redmine.ruby-lang.org