提交 c6db3486 编写于 作者: W wycats

1.8 block variable shadowing strikes again

上级 dbe08026
......@@ -104,8 +104,8 @@ def new_constants
# element of self[Object] will be an Array of the constants that were present
# before parent.rb was required. The second element will be an Array of the
# constants that were present before child.rb was required.
self[namespace].each do |constants|
constants.concat(new_constants)
self[namespace].each do |namespace_constants|
namespace_constants.concat(new_constants)
end
# Normalize the list of new constants, and add them to the list we will return
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册