Re: [MacRuby-devel] [macruby] #47: Cannot pass a :symbol directly as a named parameter
#47: Cannot pass a :symbol directly as a named parameter ------------------------------------------+--------------------------------- Reporter: cremes@mac.com | Owner: lsansonetti@apple.com Type: defect | Status: new Priority: minor | Milestone: MacRuby 1.0 Component: MacRuby | Resolution: Keywords: symbol named keyed parameter | ------------------------------------------+--------------------------------- Comment (by dj2@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/>
participants (1)
-
macruby