I am getting these failures when I run irtests.bat, but now if I run
“mspec core\module\autoload”. Has anyone ever run into this?
Module#autoload uses dup copies for autoloaded constants FAILED
Expected NameError but no exception was raised
expectations.rb:9:in fail_with' should.rb:2:inshould’
autoload_spec.rb:172
bug.rb:15:in ruby_bug' autoload_spec.rb:160 classes.rb:320:inprotect_loaded_features’
autoload_spec.rb:159
:0:in instance_eval' mspec.rb:64:inprotect’
context.rb:131:in protect' c:\github\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:53:inb__0’
:0:in each' c:\github\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:34:inEach’
c:\github\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:51:in
TrueForItems' :0:inall?’
context.rb:129:in protect' context.rb:151:inprocess’
:0:in each' context.rb:143:inprocess’
mspec.rb:28:in describe' object.rb:10:indescribe’
autoload_spec.rb:0
:0:in load' mspec.rb:54:infiles’
:0:in instance_eval' mspec.rb:64:inprotect’
mspec.rb:48:in files' :0:ineach’
mspec.rb:44:in files' mspec.rb:38:inprocess’
mspec-ci.rb:58:in run' script.rb:189:inmain’
mspec-ci:0
Module#autoload autoloaded constants are removed on the first access
FAILED
Expected NameError but no exception was raised
expectations.rb:9:in fail_with' should.rb:2:inshould’
autoload_spec.rb:180
classes.rb:320:in protect_loaded_features' autoload_spec.rb:179 :0:ininstance_eval’
mspec.rb:64:in protect' context.rb:131:inprotect’
c:\github\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:53:in
`b__0’
:0:in each' c:\github\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:34:inEach’
c:\github\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:51:in
TrueForItems' :0:inall?’
context.rb:129:in protect' context.rb:151:inprocess’
:0:in each' context.rb:143:inprocess’
mspec.rb:28:in describe' object.rb:10:indescribe’
autoload_spec.rb:0
:0:in load' mspec.rb:54:infiles’
:0:in instance_eval' mspec.rb:64:inprotect’
mspec.rb:48:in files' :0:ineach’
mspec.rb:44:in files' mspec.rb:38:inprocess’
mspec-ci.rb:58:in run' script.rb:189:inmain’
mspec-ci:0
Thanks,
Shri