[MacRuby] #1106: #initialize is not called in class which inherit Mutex.

MacRuby ruby-noreply at macosforge.org
Sat Jan 8 04:46:29 PST 2011


#1106: #initialize is not called in class which inherit Mutex.
----------------------------------+-----------------------------------------
 Reporter:  watson1978@…          |       Owner:  lsansonetti@…        
     Type:  defect                |      Status:  new                  
 Priority:  blocker               |   Milestone:                       
Component:  MacRuby               |    Keywords:                       
----------------------------------+-----------------------------------------
 Test Script:
 {{{
 #!ruby
 class A < Mutex
   def initialize
     p "mutex"
   end
 end

 A.new
 }}}

 Result:
 {{{
 $  ruby19 -v test_mutex.rb
 ruby 1.9.2p136 (2010-12-25 revision 30365) [x86_64-darwin10.5.0]
 "mutex"

 $ macruby -v test_mutex.rb
 MacRuby 0.9 (ruby 1.9.2) [universal-darwin10.0, x86_64]
 }}}

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



More information about the macruby-tickets mailing list