Projects

Ticket #9 (closed defect: fixed)

Opened 4 years ago

Last modified 3 years ago

Crash on Module.superclass

Reported by: jlukas@… Owned by: lsansonetti@…
Priority: blocker Milestone: MacRuby 0.3
Component: MacRuby Keywords:
Cc:

Description

The following code:

module A; end
A.superclass

results in the following error:

2008-02-28 12:17:19.790 macruby[59414:10b] *** NSInvocation: warning: object 0x450b00 of class 'A' does not implement methodSignatureForSelector: -- trouble ahead
2008-02-28 12:17:19.792 macruby[59414:10b] *** NSInvocation: warning: object 0x450b00 of class 'A' does not implement doesNotRecognizeSelector: -- abort

MacRuby was compiled from trunk, revision 22

Change History

Changed 4 years ago by lsansonetti@…

  • priority changed from minor to blocker
  • milestone set to MacRuby 1.0

Changed 4 years ago by lsansonetti@…

  • milestone changed from MacRuby 1.0 to MacRuby 0.3

Should be fixed once we switch to the objc dispatcher for sure.

Changed 3 years ago by lsansonetti@…

  • status changed from new to closed
  • resolution set to fixed

Fixed in trunk.

$ macruby -e "module A; end; p A.superclass"
Object
Note: See TracTickets for help on using tickets.