[MacRuby] #1096: Operator redefinition fails (Fixnum)

MacRuby ruby-noreply at macosforge.org
Mon Jan 3 14:32:10 PST 2011


#1096: Operator redefinition fails (Fixnum)
--------------------------------------+-------------------------------------
 Reporter:  Knut.Olaf.Lien@…          |        Owner:  lsansonetti@…        
     Type:  defect                    |       Status:  closed               
 Priority:  blocker                   |    Milestone:                       
Component:  MacRuby                   |   Resolution:  worksforme           
 Keywords:                            |  
--------------------------------------+-------------------------------------
Changes (by lsansonetti@…):

  * status:  new => closed
  * resolution:  => worksforme
  * milestone:  MacRuby 0.8 =>


Comment:

 It works for me.

 {{{
 $ ./miniruby -e "class Fixnum; def +(o); self-o; end; end; p 4+2"
 2
 }}}

 Please provide test input.

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



More information about the macruby-tickets mailing list