[MacRuby-devel] [MacRuby] #395: String#% does not work with %p

MacRuby ruby-noreply at macosforge.org
Tue Oct 20 07:33:53 PDT 2009


#395: String#% does not work with %p
----------------------------+-----------------------------------------------
 Reporter:  jazzbox@…       |       Owner:  lsansonetti@…        
     Type:  defect          |      Status:  new                  
 Priority:  major           |   Milestone:  MacRuby 0.5          
Component:  MacRuby         |    Keywords:                       
----------------------------+-----------------------------------------------
 {{{
 macruby -e 'p "%p" % "foo"'
 }}}

 results in

 {{{
 core:in `%:': expected instance of Pointer, got `"foo"' (NSMutableString)
 (TypeError)
         from -e:1:in `<main>'
 }}}

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/395>
MacRuby <http://macruby.org/>



More information about the MacRuby-devel mailing list