#712: Feature Request: Add Support for C-Level Blocks
-------------------------------+--------------------------------------------
 Reporter:  cwdi...@…          |       Owner:  lsansone...@…        
     Type:  enhancement        |      Status:  new                  
 Priority:  blocker            |   Milestone:  MacRuby 0.7          
Component:  MacRuby            |    Keywords:  block                
-------------------------------+--------------------------------------------

Comment(by lsansone...@…):

 I think only the 1st form should be implemented at the first time. Passing
 the block inline (3rd form) might be a good idea but I'm afraid of
 inconsistencies (since the argument name is no longer passed). Also, it
 wouldn't work if the method accepts 2 blocks.

 2nd solution cannot be implemented easily and I think it's not what users
 would expect (they would expect the method to be called and its return
 value to be passed, not the method itself).

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

_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to