Inconsistent behaviour of Module#const_get with included modules
A = 1
Object.const_get(:A, false) # => works fine
Bar.const_get(:A, false) # => raises error
Untested patch attached. This might also fix #3422.
#4 Updated by Yukihiro Matsumoto almost 5 years ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100
This issue was solved with changeset r32283.
Magnus, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.