[MacRuby] #952: Should set got string to $_ when calls StringIO#gets #readline.
MacRuby
ruby-noreply at macosforge.org
Sun Dec 5 18:10:16 PST 2010
#952: Should set got string to $_ when calls StringIO#gets #readline.
----------------------------------+-----------------------------------------
Reporter: watson1978@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: minor | Milestone: MacRuby 1.0
Component: MacRuby | Keywords:
----------------------------------+-----------------------------------------
Comment(by lsansonetti@…):
Thanks for the patch :) There is only one problem, the last_line instance
variable is never initialized in the RoxorVM constructor. This could lead
to unexpected results, so you may want to set it to Qnil there.
Could you attach a unified diff file to this ticket after? I will then
apply your change. Also feel free to remove the language/predefined_spec
tags in your patch.
--
Ticket URL: <http://www.macruby.org/trac/ticket/952#comment:5>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list