[MacRuby-devel] [MacRuby] #609: Constants and methods are not copied when cloning modules

MacRuby ruby-noreply at macosforge.org
Tue Feb 9 08:19:20 PST 2010


#609: Constants and methods are not copied when cloning modules
---------------------------------+------------------------------------------
 Reporter:  mred@…               |       Owner:  lsansonetti@…        
     Type:  defect               |      Status:  new                  
 Priority:  major                |   Milestone:                       
Component:  MacRuby              |    Keywords:                       
---------------------------------+------------------------------------------

Comment(by martinlagardette@…):

 Hi! Thanks for the bug report :-)

 I analyzed the issue a little bit, and it seems that module cloning was
 not the only issue.[[BR]]
 We actually had issues with class & modules `#clone` & `#dup`.

 I uploaded a script to tests the issues we had.

 I also uploaded a temporary diff for Laurent to check. The only issue left
 is that `#dup` also dups the class/module path/name, which is not correct.
 However, since it is using ObjC's `+copy` method, I don't really know
 (yet) how to correct the problem :-)

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/609#comment:1>
MacRuby <http://macruby.org/>



More information about the MacRuby-devel mailing list