Skip Menu |
Report information
Id: 127484
Status: new
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: sjn+perlbug [at] pvv.org
Cc:
AdminCc:

Severity: (no value)
Tag: (no value)
Platform: (no value)
Patch Status: (no value)
VM: (no value)



Subject: LTA error message: "P6M Merging GLOBAL symbols failed: duplicate definition of symbol"
Download (untitled) / with headers
text/plain 944b
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.
Subject: Actions.pm
Download Actions.pm
text/x-perl 23b
class Example::My { }
Subject: My.pm
Download My.pm
text/x-perl 51b
unit module Example::My; use Example::My::Actions;
Download (untitled) / with headers
text/plain 127b
Still present in Rakudo version 2016.07-3-gbc722ab built on MoarVM version 2016.07 -- Cheers, ZZ | https://twitter.com/zoffix


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org