Ticket #562 (new defect)
Including a module into class Class or class Module
| Reported by: | eloy.de.enige@… | Owned by: | lsansonetti@… |
|---|---|---|---|
| Priority: | blocker | Milestone: | MacRuby 1.0 |
| Component: | MacRuby | Keywords: | mocha #reduction #patch |
| Cc: | james@…, ernest.prabhakar@… |
Description (last modified by eloy.de.enige@…) (diff)
I saw that when you open class Class and define a method, it's automatically defined as a class method on NSObject. This does not happen when you include a module into class Class. Or class Module for that matter.
My preliminary patch does this for both Class and Module. However, as the test in #3300 shows, using the two behaviors together still leads to a problem.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.


