#328: Calling a ObjC-method with a named argument which is a Ruby keyword does
not work
------------------------+---------------------------------------------------
 Reporter:  d...@…       |       Owner:  lsansone...@…        
     Type:  defect      |      Status:  new                  
 Priority:  minor       |   Milestone:                       
Component:  MacRuby     |    Keywords:                       
------------------------+---------------------------------------------------
Changes (by martinlagarde...@…):

  * milestone:  MacRuby 0.5 =>


Comment:

 It looks like the parser has a problem with the "'''in'''" keyword:

 {{{
 $> macruby -e "obj.do('a', in: nil)"
 -e:1: syntax error, unexpected keyword_in, expecting ')'
 obj.do('a', in: nil)
               ^
 $> macruby -e "obj.do('a', ia: nil)"
 /Users/naixn/-e:1:in `<main>': undefined local variable or method `obj'
 for main:TopLevel (NameError)
 }}}

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