Projects

Ticket #199 (closed defect: fixed)

Opened 3 years ago

Last modified 2 years ago

Calling super from #respond_to? causes SystemStackError

Reported by: eloy.de.enige@… Owned by: lsansonetti@…
Priority: blocker Milestone: MacRuby 0.5
Component: MacRuby Keywords:
Cc:

Description

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)

Change History

Changed 3 years ago by eloy.de.enige@…

The bug was introduced by r534.

Changed 2 years ago by lsansonetti@…

  • status changed from new to closed
  • resolution set to fixed
  • milestone set to MacRuby 0.5

Should be fixed by r2947.

Note: See TracTickets for help on using tickets.