1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* insns.def (defineclass), vm_insnhelper.c (vm_get_cvar_base): see

also inherited constants for classes without superclass and
  modules.  [ruby-core:37698] [Bug #3423]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2011-09-01 08:31:24 +00:00
parent d9acd1965d
commit 43284b6bf8
5 changed files with 39 additions and 5 deletions

View file

@ -140,7 +140,9 @@ p Foo::Bar
t = Thread.new { AutoloadTest }
sleep 0.1
# override it
eval %q(AutoloadTest = 1)
EnvUtil.suppress_warning {
eval %q(AutoloadTest = 1)
}
t.join
assert_equal(1, AutoloadTest)
ensure