#298: macirb loses track of local variables ----------------------------------------+----------------------------------- Reporter: mhar...@… | Owner: lsansone...@… Type: defect | Status: new Priority: major | Milestone: Component: MacRuby | Keywords: ----------------------------------------+----------------------------------- macirb loses track of local variables.
After a clean test and install of the latest experimental branch on Snow Leopard (10A411), I fired up macirb for a quick test. macirb starts fine and gives me a prompt. But when I create a simple local variable and assign a string value to it, then try printing the variable, macirb throws an exception: mharper$ macirb irb: warn: can't alias exit from irb_exit. irb(main):001:0> a = "hello" => "hello" irb(main):002:0> puts a NameError: undefined local variable or method `a' for main:TopLevel from 0:in `eval:' from 0:in `evaluate:' from 0:in `evaluate:' from 0:in `signal_status:' from 0:in `each_top_level_statement' from 0:in `eval_input' from 0:in `start:' irb(main):003:0> exit macirb -v => irb 0.9.5(05/04/13) -- Ticket URL: <http://www.macruby.org/trac/ticket/298> MacRuby <http://macruby.org/> _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel