#297: ObjectSpace.each_object returns Class and Module objects when it shouldn't
--------------------------------+-------------------------------------------
 Reporter:  n...@…               |       Owner:  lsansone...@…        
     Type:  defect              |      Status:  new                  
 Priority:  minor               |   Milestone:  MacRuby 0.5          
Component:  MacRuby             |    Keywords:                       
--------------------------------+-------------------------------------------

Comment(by lsansone...@…):

 Can't reproduce this with experimental ToT

 {{{
 $ ./miniruby -e "p
 
ObjectSpace.each_object(String).reject{|o|o.class.ancestors.include?(String)}.map{|o|o.class}.uniq"
 [NSString]
 $ ./miniruby -e "p MACRUBY_REVISION"
 "svn revision 2032 from
 http://svn.macosforge.org/repository/ruby/MacRuby/branches/experimental";
 }}}

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

_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to