IronRuby.Tests.Tests.ConstantCaching_Unqualified5 C# (CSharp) Method

ConstantCaching_Unqualified5() public method

module_eval {} in Ruby 1.9 changes constant lookup chain.
public ConstantCaching_Unqualified5 ( ) : void
return void
        public void ConstantCaching_Unqualified5() {
#if TODO
            TestOutput(@"
module A
 
end

module B
  $q = Proc.new { X = 1 }
  A.module_eval &$q
end

module C
  module_eval &$q
end

p A.constants
p B.constants
p C.constants
", @"
[:X]
[]
[:X]
");
#endif
        }
Tests