[macruby-changes] [5028] MacRuby/trunk/test_vm/constant.rb
source_changes at macosforge.org
source_changes at macosforge.org
Tue Dec 14 23:48:30 PST 2010
Revision: 5028
http://trac.macosforge.org/projects/ruby/changeset/5028
Author: lsansonetti at apple.com
Date: 2010-12-14 23:48:25 -0800 (Tue, 14 Dec 2010)
Log Message:
-----------
add reduction for bug #1045
Modified Paths:
--------------
MacRuby/trunk/test_vm/constant.rb
Modified: MacRuby/trunk/test_vm/constant.rb
===================================================================
--- MacRuby/trunk/test_vm/constant.rb 2010-12-15 03:20:02 UTC (rev 5027)
+++ MacRuby/trunk/test_vm/constant.rb 2010-12-15 07:48:25 UTC (rev 5028)
@@ -147,3 +147,18 @@
end
end
}
+
+assert '42', %{
+ module M
+ FOO=42
+ end
+ class M::C; end
+ module M
+ class C
+ def initialize
+ p FOO
+ end
+ end
+ end
+ M::C.new
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20101214/efc8ba79/attachment.html>
More information about the macruby-changes
mailing list