[MacRuby] #1009: Can't set status of taint and untrust to Float Object.

MacRuby ruby-noreply at macosforge.org
Wed Nov 24 13:18:37 PST 2010


#1009: Can't set status of taint and untrust to Float Object.
----------------------------------+-----------------------------------------
 Reporter:  watson1978@…          |       Owner:  lsansonetti@…        
     Type:  defect                |      Status:  new                  
 Priority:  minor                 |   Milestone:                       
Component:  MacRuby               |    Keywords:                       
----------------------------------+-----------------------------------------
 Test Script:
 {{{
 #!ruby
 f = 5.5
 f.taint
 f.untrust
 f.freeze
 p f.class
 p f.tainted?
 p f.untrusted?
 p f.frozen?
 }}}

 Result:
 {{{
 $ ruby19 -v tt.rb
 ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-darwin10.4.0]
 Float
 true
 true
 true

 $ macruby -v tt.rb
 MacRuby 0.8 (ruby 1.9.2) [universal-darwin10.0, x86_64]
 Float
 false
 false
 true
 }}}

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/1009>
MacRuby <http://macruby.org/>



More information about the macruby-tickets mailing list