[MacRuby-devel] [MacRuby] #188: Using the class method `private' on a Kernel method causes an endless loop.

MacRuby ruby-noreply at macosforge.org
Fri Aug 28 12:14:15 PDT 2009


#188: Using the class method `private' on a Kernel method causes an endless loop.
-------------------------------------+--------------------------------------
 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:

 Unless I'm missing something, this seems to be fixed in trunk.

 {{{
 $ ./miniruby -e "module Kernel; def foo;p 42;end; private :foo; end; foo"
 42

 $ ruby19 -e "module Kernel; def foo;p 42;end; private :foo; end; foo"
 42
 }}}

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



More information about the MacRuby-devel mailing list