[3185] MacRuby/trunk/test_vm/module.rb
Revision: 3185 http://trac.macosforge.org/projects/ruby/changeset/3185 Author: lsansonetti@apple.com Date: 2010-01-04 14:17:59 -0800 (Mon, 04 Jan 2010) Log Message: ----------- added failing test Modified Paths: -------------- MacRuby/trunk/test_vm/module.rb Modified: MacRuby/trunk/test_vm/module.rb =================================================================== --- MacRuby/trunk/test_vm/module.rb 2010-01-04 22:05:56 UTC (rev 3184) +++ MacRuby/trunk/test_vm/module.rb 2010-01-04 22:17:59 UTC (rev 3185) @@ -89,6 +89,20 @@ } assert ':ok', %{ + module Y + def foo + p :ok + end + end + module X + include Y + end + o = Object.new + o.extend X + o.foo +} + +assert ':ok', %{ module M def initialize; p :ok; end end
participants (1)
-
source_changes@macosforge.org