Bug #620: #dup'd module autoload broken
http://redmine.ruby-lang.org/issues/show/620

Author: Jim Deville
Status: Open, Priority: Normal

In the attached code,a TypeError is thrown on line 9, this appears to be related to the dup on line 4. The presence of the autoload is messing up constant look up semantics, and causing an error to be thrown. I'd expect the used autoload (used by the constant lookup on line 6) to be a no-op and allow the constant lookup to work as expected.


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