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:in
should’
autoload_spec.rb:172
bug.rb:15:in ruby_bug' autoload_spec.rb:160 classes.rb:320:in
protect_loaded_features’
autoload_spec.rb:159
:0:in instance_eval' mspec.rb:64:in
protect’
context.rb:131:in protect' 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:in
Each’
c:\github\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:51:in
TrueForItems' :0:in
all?’
context.rb:129:in protect' context.rb:151:in
process’
:0:in each' context.rb:143:in
process’
mspec.rb:28:in describe' object.rb:10:in
describe’
autoload_spec.rb:0
:0:in load' mspec.rb:54:in
files’
:0:in instance_eval' mspec.rb:64:in
protect’
mspec.rb:48:in files' :0:in
each’
mspec.rb:44:in files' mspec.rb:38:in
process’
mspec-ci.rb:58:in run' script.rb:189:in
main’
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:in
should’
autoload_spec.rb:180
classes.rb:320:in protect_loaded_features' autoload_spec.rb:179 :0:in
instance_eval’
mspec.rb:64:in protect' context.rb:131:in
protect’
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:in
Each’
c:\github\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:51:in
TrueForItems' :0:in
all?’
context.rb:129:in protect' context.rb:151:in
process’
:0:in each' context.rb:143:in
process’
mspec.rb:28:in describe' object.rb:10:in
describe’
autoload_spec.rb:0
:0:in load' mspec.rb:54:in
files’
:0:in instance_eval' mspec.rb:64:in
protect’
mspec.rb:48:in files' :0:in
each’
mspec.rb:44:in files' mspec.rb:38:in
process’
mspec-ci.rb:58:in run' script.rb:189:in
main’
mspec-ci:0
Thanks,
Shri