#613: Dispatch classes should be wrapped in an Data struct to allow subclassing ----------------------------------------+----------------------------------- Reporter: ernest.prabhakar@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: ----------------------------------------+----------------------------------- The gcd.c implementation has this cryptic comment: // TODO: These structures need to be wrapped in a Data struct, // otherwise there are crashes when one tries to add an instance // variable to a queue. (Not that that is a good idea.) At first I ignored this, but later it occurred to me that this may be why I am unable to subclass Dispatch::Group (to use for a Future, which contains an instance variable). Is that correct? If so, is there a particular reason why subclassing these would be bad idea? -- Ticket URL: <http://www.macruby.org/trac/ticket/613> MacRuby <http://macruby.org/>