#617: Reopening Symbol Appears to Cause auto malloc[16067]: error for object
0x1016090b0: auto_zone_set_associative_ref
-------------------------------+--------------------------------------------
 Reporter:  cwdi...@…          |       Owner:  lsansone...@…        
     Type:  defect             |      Status:  new                  
 Priority:  blocker            |   Milestone:                       
Component:  MacRuby            |    Keywords:                       
-------------------------------+--------------------------------------------

Comment(by cwdi...@…):

 This appears to be related to the fact that Symbol inherits from NSString,
 which is immutable. A simple reduced case is:

 {{{
 class Symbol
   def eq
     @foo = 3
   end
 end

 :zoo.eq
 }}}

 At this point, the object is changed, which appears not to be desirable in
 the context of immutability, yet Ruby 1.9 allows it and many Ruby idioms
 take advantage of it (e.g., DataMapper).

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

_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to