#142: Infinite loop creating new Monitor object
---------------------------------------+------------------------------------
 Reporter:  [EMAIL PROTECTED]  |        Owner:  [EMAIL PROTECTED]
     Type:  defect                     |       Status:  new                  
 Priority:  major                      |    Milestone:  MacRuby 0.3          
Component:  MacRuby                    |   Resolution:                       
 Keywords:                             |  
---------------------------------------+------------------------------------

Comment(by [EMAIL PROTECTED]):

 This can actually be duplicated easily with something like the following:

 {{{
 module A
   def initialize
     super
   end
 end

 class B
   include A
 end

 B.new
 }}}

 I ran into this when trying to get Capistrano to run under MacRuby (since
 Capistrano depends on Net::SSH, which depends on Ruby's Logger, which
 depends on Monitor, etc.). I've tried digging through MacRuby to figure
 out where the error is coming from, but my ruby-internals-fu is yet weak.
 I'll keep digging, but hopefully someone smarter than me can figure this
 out more quickly. :)

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/142#comment:2>
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