#667: File.join not working with NSStrings
-----------------------------+----------------------------------------------
 Reporter:  tvmo...@…        |       Owner:  lsansone...@…        
     Type:  defect           |      Status:  new                  
 Priority:  minor            |   Milestone:  MacRuby 0.6          
Component:  MacRuby          |    Keywords:                       
-----------------------------+----------------------------------------------
 macirb

 x = NSString.stringWithString("test")
 File.join("terry",x)

 gives Abort trap

 xcode Project is getting a String from

 prefs = NSUserDefaults.standardUserDefaults
 @target_path     = prefs.stringForKey(:path)

 File.join("/Volumes",@target_path)

 Program received signal:  “EXC_BAD_ACCESS”.

 rb_file_join
 rb_str_get_uchar

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/667>
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