Project

General

Profile

Actions

Bug #21103

closed

Binding problem with delegate methods

Added by tenderlovemaking (Aaron Patterson) 1 day ago. Updated about 8 hours 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.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0