OP_ENTER fix variable assignment

This commit is contained in:
ksss
2014-05-06 23:23:32 +09:00
parent 12915f9577
commit 0c3226db04
2 changed files with 11 additions and 2 deletions
+7
View File
@@ -512,3 +512,10 @@ assert('BS Block 37') do
end
end
assert('BS Block 38') do
def iter
yield 1,2,3,4,5,6
end
assert_equal [1,2,3,4,5], iter{|a,b,c=:c,d,e| [a,b,c,d,e]}
end