[MacRuby-devel] [MacRuby] #199: Calling super from #respond_to? causes SystemStackError
MacRuby
ruby-noreply at macosforge.org
Tue Jan 6 08:12:30 PST 2009
#199: Calling super from #respond_to? causes SystemStackError
-------------------------------------+--------------------------------------
Reporter: eloy.de.enige@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: blocker | Milestone:
Component: MacRuby | Keywords:
-------------------------------------+--------------------------------------
The following code results in a stack level too deep problem.
I have added this as a test case to known_bugs.rb in r778.
{{{
class Foo
def respond_to?(method, hidden = false)
super
end
end
Foo.new.respond_to?(:object_id)
}}}
--
Ticket URL: <http://www.macruby.org/trac/ticket/199>
MacRuby <http://macruby.org/>
More information about the MacRuby-devel
mailing list