Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error message: "P6M Merging GLOBAL symbols failed: duplicate definition of symbol" #5120

Open
p6rt opened this issue Feb 7, 2016 · 4 comments
Labels
LTA Less Than Awesome; typically an error message that could be better

Comments

@p6rt
Copy link

p6rt commented Feb 7, 2016

Migrated from rt.perl.org#127484 (status was 'new')

Searchable as RT127484$

@p6rt
Copy link
Author

p6rt commented Feb 7, 2016

From @sjn

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.

@p6rt
Copy link
Author

p6rt commented Feb 7, 2016

From @sjn

Actions.pm

@p6rt
Copy link
Author

p6rt commented Feb 7, 2016

From @sjn

My.pm

@p6rt
Copy link
Author

p6rt commented Jul 30, 2016

From @zoffixznet

Still present in Rakudo version 2016.07-3-gbc722ab built on MoarVM version 2016.07

--
Cheers,
ZZ | https://twitter.com/zoffix

@p6rt p6rt added the LTA Less Than Awesome; typically an error message that could be better label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
LTA Less Than Awesome; typically an error message that could be better
Projects
None yet
Development

No branches or pull requests

1 participant