# New Ticket Created by "Stephen Simmons" # Please include the string: [perl #58918] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=58918 >
In r31096, use allows a program to use module A and module B, and allows module B to use module A, when module A defines a method as long as all three files are in the same directory. However, when you try and put module A and module B in the Lib subdirectory and use them as Lib::A and Lib::B, then rakudo complains with: A method named 'test' already exists in class 'A'. It may have been supplied by a role. current instr.: 'parrot;PCT::HLLCompiler;evalpmc' pc 10631758 ((unknown file):-1) perl6(18090) malloc: *** error for object 0x315ad60: double free *** set a breakpoint in malloc_error_break to debug Segmentation fault The attached file illustrates the problem. System info: Darwin sully.local 9.4.0 Darwin Kernel Version 9.4.0: Mon Jun 9 19:30:53 PDT 2008; root:xnu-1228.5.20~1/RELEASE_I386 i386 Stephen Simmons
use_bug.tar
Description: Unix tar archive