topazproject / topaz

A high performance ruby, written in RPython
topazruby.com
BSD 3-Clause "New" or "Revised" License
1k stars 84 forks source link

Proc.binding gets confused about local variables not statically referenced #839

Closed chrisseaton closed 4 years ago

chrisseaton commented 9 years ago
def foo
  a = 2
  b = 14
  c = 100
  Proc.new { a + b }
end

puts foo.binding.eval("c")

MRI: 100 Topaz: 2

chrisseaton commented 4 years ago

Closing due to inactivity.