Actions
Bug #3423
closedInconsistent behaviour of Module#const_get with included modules
Description
=begin
module Foo
A = 1
end
class Object
include Foo
end
class Bar
include Foo
end
Object.const_get(:A, false) # => works fine
Bar.const_get(:A, false) # => raises error
Untested patch attached. This might also fix #3422.
=end
Files
Actions
Like0
Like0Like0Like0Like0