[MacRuby-devel] [MacRuby] #695: Bitwise operations on Float results in Seg fault

MacRuby ruby-noreply at macosforge.org
Thu May 6 18:36:27 PDT 2010


#695: Bitwise operations on Float results in Seg fault
-------------------------------+--------------------------------------------
 Reporter:  niklas@…           |        Owner:  lsansonetti@…        
     Type:  defect             |       Status:  closed               
 Priority:  major              |    Milestone:  MacRuby 0.7          
Component:  MacRuby            |   Resolution:  fixed                
 Keywords:                     |  
-------------------------------+--------------------------------------------
Changes (by lsansonetti@…):

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


Comment:

 Should be fixed in r4036.

 {{{
 $ ./miniruby -e "p (1.2 | 1)"
 /Users/lrz/src/MacRuby-trunk/-e:1:in `<main>': undefined method `|' for
 1.2:Float (NoMethodError)
 $ ./miniruby -e "p ~1.2"
 /Users/lrz/src/MacRuby-trunk/-e:1:in `<main>': undefined method `~' for
 1.2:Float (NoMethodError)
 $ ./miniruby -e "p (1.2 < 1)"
 false
 $ ./miniruby -e "p (1.2 ^ 1)"
 /Users/lrz/src/MacRuby-trunk/-e:1:in `<main>': undefined method `^' for
 1.2:Float (NoMethodError)
 }}}

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



More information about the MacRuby-devel mailing list