fix scoping of blockcompiler
Was accessing caller scope, but must use caller's caller as the yield itself is a call.
This commit is contained in:
@ -61,7 +61,7 @@ module VoolBlocks
|
||||
assert @ins.left
|
||||
end
|
||||
def test_slots_left
|
||||
assert_equal [:caller, :arguments, :arg] , @ins.left.slots
|
||||
assert_equal [:caller,:caller, :arguments, :arg] , @ins.left.slots
|
||||
end
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user