#1337: 3 tests in test_vm became failure after commited 'c1833dd1d2764711f3ea658d7e1108e62057dddb'. ------------------------------+--------------------------------------------- Reporter: kouji@… | Owner: lsansonetti@… Type: defect | Status: new Priority: critical | Milestone: Component: MacRuby | Keywords: 0.11-blocker ------------------------------+--------------------------------------------- 3 tests in test_vm became failure after commited below. {{{ commit c1833dd1d2764711f3ea658d7e1108e62057dddb Author: Laurent Sansonetti <lrz@chopine.be> Date: Mon Jun 13 15:53:20 2011 -0700 some work on garbage collecting singleton classes - disabled for now since it breaks rubyspec }}} 3 tests are below. {{{ # Test cloning assert "B, [:CONST_M], [:ok]", %{ module M CONST_M = 1 def ok; end end B = M.clone puts B.to_s + ", " + B.constants.to_s + ", " + B.instance_methods(false).to_s } Result: B, [], [:ok] assert "B, [:CONST_A], [:ok]", %{ class A CONST_A = 1 def ok; end end B = A.clone puts B.to_s + ", " + B.constants.to_s + ", " + B.instance_methods(false).to_s } Result: B, [], [:ok] assert "B, [:CONST_C, :CONST_A], []", %{ class A CONST_A = 1 def ok; end end class C < A CONST_C = 1 end B = C.clone puts B.to_s + ", " + B.constants.to_s + ", " + B.instance_methods(false).to_s } Result: B, [:CONST_A], [] }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/1337> MacRuby <http://macruby.org/>