[MacRuby-devel] [MacRuby] #208: Making #binding public returns wrong binding.

MacRuby ruby-noreply at macosforge.org
Thu Oct 15 21:34:00 PDT 2009


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

  * 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/>



More information about the MacRuby-devel mailing list