# New Ticket Created by  Salve J. Nilsen 
# Please include the string:  [perl #127484]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=127484 >


I run the following (loading the attached files, including naming errors)

===================8<-------------------------------

$ perl6 -Ilib -MExample::My -e ''
===SORRY!===
P6M Merging GLOBAL symbols failed: duplicate definition of symbol My
===SORRY!===
P6M Merging GLOBAL symbols failed: duplicate definition of symbol My

------->8===========================================

I was expecting the full class names here ("Example::My", and not just "My"), 
and perhaps some words about which files contain the conflicting symbols.

File tree layout is the following:

-------------------------------->8============================

.
└── lib
    └── Example
        ├── My
        │   └── Actions.pm
        └── My.pm

--------------->8=============================================

$ perl6 -v
This is Rakudo version 2015.12-238-g0029a1a built on MoarVM version 
2015.12-29-g8079ca5
implementing Perl 6.c.


class Example::My {

}
unit module Example::My;
use Example::My::Actions;

Reply via email to