[MacRuby-devel] [MacRuby] #760: block arg in NSWorkspace#recycleURLs completionHandler: is not specified properly

MacRuby ruby-noreply at macosforge.org
Tue Jun 22 19:40:09 PDT 2010


#760: block arg in NSWorkspace#recycleURLs completionHandler: is not specified
properly
--------------------------------------+-------------------------------------
 Reporter:  ryand-ruby@…              |       Owner:  lsansonetti@…        
     Type:  defect                    |      Status:  new                  
 Priority:  blocker                   |   Milestone:                       
Component:  MacRuby                   |    Keywords:                       
--------------------------------------+-------------------------------------
 {{{
 % macirb
 >> framework 'Foundation'
 >> framework 'AppKit'
 >> NSWorkspace.sharedWorkspace.recycleURLs [], completionHandler:nil
 }}}

 results in:

 {{{
 TypeError: unrecognized runtime type `?'
         from /Users/ryan/Work/p4/zss/src/Cocoa/Triage/(irb):1:in `<main>'
 }}}

 At the least, it should support a nil arg and just pass it through.

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



More information about the MacRuby-devel mailing list