#208: Making #binding public returns wrong binding.
-------------------------------------+--------------------------------------
 Reporter:  eloy.de.en...@…          |        Owner:  lsansone...@…        
     Type:  defect                   |       Status:  closed               
 Priority:  blocker                  |    Milestone:  MacRuby 0.5          
Component:  MacRuby                  |   Resolution:  fixed                
 Keywords:                           |  
-------------------------------------+--------------------------------------
Changes (by lsansone...@…):

  * status:  new => closed
  * resolution:  => fixed
  * milestone:  => MacRuby 0.5


Comment:

 It looks like this issue is solved in trunk.

 Note that:

 1) doing send(:binding) won't work as expected with 1.9 and will crash for
 us (assertion).
 2) calling #binding on the Foo instance will raise a "private method
 called" exception on both 1.8 and 1.9.
 3) calling #b will work as expected.

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

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

Reply via email to