Project

General

Profile

ActionsLike0

Bug #21103

closed

Binding problem with delegate methods

Added by tenderlovemaking (Aaron Patterson) about 1 month ago. Updated 22 days ago.


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.

ActionsLike0

Also available in: Atom PDF