Actions
Bug #21103
closedBinding problem with delegate methods
Bug #21103:
Binding problem with delegate methods
Description
def foo(...)
a = 123
binding.local_variable_get(:a)
end
p foo([])
Expected output is 123, actual output is some number. I think there is an off-by-one error in bindings created from delegate frames.
Actions