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

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

_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to