eval('class A; end') fails in Ruby.Compiler.AST.CLASS_OR_MODULE.GenCode0
Specifically, in the following code:
while (FileClass().GetField(internal_name) != null)
internal_name = basename + (seqNo++);
FileClass() returns null (i.e. it can't go up the eval).
This is blocking IRB support.
Original issue reported on code.google.com by sason...@gmail.com on 11 Sep 2007 at 11:28
Original issue reported on code.google.com by
sason...@gmail.com
on 11 Sep 2007 at 11:28