#760: block arg in NSWorkspace#recycleURLs completionHandler: is not specified
properly
--------------------------------------+-------------------------------------
 Reporter:  ryand-r...@…              |       Owner:  lsansone...@…        
     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/>

_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to