Actions
Bug #8438
closedKernel.eval can not Reliably Create new Variables
Status:
Rejected
Assignee:
-
Target version:
-
ruby -v:
ruby 2.0.0p195 (2013-05-14) [x86_64-linux]
Backport:
Description
Variables that are created by the Kernel.eval are deleted from the execution context before the method eval exits, despite the fact that the execution context that is fed to the Kernel.eval by a Binding instance is still in use.
That seriously hinders the use of reflection.
Demo resides in the attached flaw_demo.rb.
Files
Actions
Like0
Like0Like0