4 May
2011
4 May
'11
12:19 p.m.
Branch: refs/heads/master Home: https://github.com/MacRuby/MacRuby Commit: dcd258b4dfc63a4ba4b952e8c7633dec00484fa5 https://github.com/MacRuby/MacRuby/commit/dcd258b4dfc63a4ba4b952e8c7633dec00... Author: Kouji Takao <kouji@takao7.net> Date: 2011-05-04 (Wed, 04 May 2011) Changed paths: M compiler.cpp M compiler.h M test_vm/block.rb M test_vm/dispatch.rb Log Message: ----------- fixed break, next and redo with ensure block, fixed codes below. 1) 1.times { begin; break; ensure; p 42; end } 2) i=0; while i<1; begin; break; ensure; p 42; end; end 3) i=0; while true; begin; break if i>0; i=1; redo; ensure; p 42; end; end 4) def f(&proc) p :ok; end; f(&nil)