[MacRuby] #1096: Operator redefinition fails (Fixnum)
MacRuby
ruby-noreply at macosforge.org
Mon Jan 3 04:32:03 PST 2011
#1096: Operator redefinition fails (Fixnum)
--------------------------------------+-------------------------------------
Reporter: Knut.Olaf.Lien@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: blocker | Milestone: MacRuby 0.8
Component: MacRuby | Keywords:
--------------------------------------+-------------------------------------
This example is taken from ruby-lang.org page:
{{{
Class Fixnum
def +(other)
self - other
end
end
}}}
Testing this does not yield correct result in MacRuby 0.8 (ruby 1.9.2)
[universal-darwin10.0, x86_64]
Tested correct in ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-
darwin10.0] and ruby 1.9.2p136 (2010-12-25 revision 30365)
[x86_64-darwin10.5.0]
--
Ticket URL: <http://www.macruby.org/trac/ticket/1096>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list