[MacRuby-devel] [macruby] #47: Cannot pass a :symbol directly as a named parameter

macruby ruby-noreply at macosforge.org
Mon Jul 7 21:51:58 PDT 2008


#47: Cannot pass a :symbol directly as a named parameter
------------------------------------------+---------------------------------
 Reporter:  cremes at mac.com                |        Owner:  lsansonetti at apple.com
     Type:  defect                        |       Status:  new                  
 Priority:  minor                         |    Milestone:  MacRuby 1.0          
Component:  MacRuby                       |   Resolution:                       
 Keywords:  symbol named keyed parameter  |  
------------------------------------------+---------------------------------
Comment (by dj2 at everburning.com):

 The attached symbol_error.diff is a possible fix for this. I don't see any
 way in the code to be able to print the symbol name into the error message
 instead of forKey (attempting to add another parameter to the args array
 causes other issues as that's used in the method_missing dispatch I
 believe). This at least gives the user an idea of what could be wrong.

-- 
Ticket URL: <https://www.macruby.org/trac/ticket/47#comment:5>
macruby <http://macruby.org/>


More information about the MacRuby-devel mailing list