[MacRuby-devel] [macruby] #106: Syntax error with Variadic function

macruby ruby-noreply at macosforge.org
Mon Jul 28 01:24:52 PDT 2008


#106: Syntax error with Variadic function
------------------------------+---------------------------------------------
 Reporter:  byblue at gmail.com  |       Owner:  lsansonetti at apple.com
     Type:  defect            |      Status:  new                  
 Priority:  blocker           |   Milestone:                       
Component:  MacRuby           |    Keywords:                       
------------------------------+---------------------------------------------
 {{{
 >> CISampler.alloc.initWithImage(nil, keysAndValues:1, 2, 3)
 SyntaxError: (irb):1: syntax error, unexpected ',', expecting tASSOC
 CISampler.alloc.initWithImage(nil, keysAndValues:1, 2, 3)
                                                       ^
         from /usr/local/bin/macirb:12:in `<main>'
 }}}

 MacRuby was compiled from trunk, revision 380.

-- 
Ticket URL: <https://www.macruby.org/trac/ticket/106>
macruby <http://macruby.org/>


More information about the MacRuby-devel mailing list