Project

General

Profile

Actions

Bug #620

closed

#dup'd module autoload broken

Added by jredville (Jim Deville) over 15 years ago. Updated about 13 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
[ruby-core:19181]

Description

=begin
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.
=end


Files

temp.rb (301 Bytes) temp.rb jredville (Jim Deville), 10/08/2008 08:31 AM
ltemp.rb (19 Bytes) ltemp.rb jredville (Jim Deville), 10/08/2008 08:31 AM
Actions

Also available in: Atom PDF

Like0
Like0