[MacRuby-devel] [MacRuby] #249: Attempting to modify instances of NSString or NSArray causes crash

MacRuby ruby-noreply at macosforge.org
Wed Aug 26 13:36:46 PDT 2009


#249: Attempting to modify instances of NSString or NSArray causes crash
---------------------------------+------------------------------------------
 Reporter:  jesper@…             |        Owner:  lsansonetti@…        
     Type:  defect               |       Status:  closed               
 Priority:  blocker              |    Milestone:  MacRuby 0.5          
Component:  MacRuby              |   Resolution:  fixed                
 Keywords:                       |  
---------------------------------+------------------------------------------
Changes (by lsansonetti@…):

  * status:  new => closed
  * resolution:  => fixed
  * milestone:  => MacRuby 0.5


Comment:

 Definitely fixed in trunk.

 {{{
 $ ./miniruby -e "str = NSString.stringWithString 'a'; str << 'b'"
 can't modify frozen/immutable string (RuntimeError)
 }}}

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



More information about the MacRuby-devel mailing list