Added failing test for constant lookup.
--- MacRuby/branches/experimental/test_roxor.rb 2009-03-24 14:37:21 UTC (rev 1136)
+++ MacRuby/branches/experimental/test_roxor.rb 2009-03-24 14:44:35 UTC (rev 1137)
@@ -419,6 +419,20 @@
p Z::Y.new.foo
}
+ assert '42', %q{
+ class A
+ module B
+ def foo
+ 42
+ end
+ end
+ module C
+ extend B
+ end
+ end
+ p A::C.foo
+ }
+
assert 'true', 'p ::String == String'
end