Issue #3423 has been updated by Hiroshi NAKAMURA.

Target version changed from 1.9.2 to 1.9.3


----------------------------------------
Bug #3423: Inconsistent behaviour of Module#const_get with included modules
http://redmine.ruby-lang.org/issues/3423

Author: Magnus Holm
Status: Assigned
Priority: Low
Assignee: Yukihiro Matsumoto
Category: core
Target version: 1.9.3
ruby -v: ruby 1.9.2dev (2010-05-31 revision 28117) [x86_64-darwin10.3.0]


=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



-- 
http://redmine.ruby-lang.org