On 12/31/2015 01:47 PM, Faye (via RT) wrote:
# New Ticket Created by Faye
# Please include the string: [perl #127107]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org/Ticket/Display.html?id=127107 >
$ cat Foo.pm6
use Grammar::Tracer;
$ perl6 -I. -e 'use Foo'
===SORRY!===
P6M Merging GLOBAL symbols failed: duplicate definition of symbol grammar
It appears that, for whatever reason, using Grammar::Tracer from within a
module file causes that strange low-level error. Note that attempting 'use
Grammar::Tracer' in a non-module file or directly in one-liners doesn't seem to
be an issue:
$ perl6 Foo.pm6
$ perl6 -e 'use Grammar::Tracer'
$
See also messages with subject 'lack of info in error message' from
mt1...@gmail.com
summarized here... (p.s. the test file is from my own project and the
symbol is defined by using constant)
I get the following error;
perl6 t/070-run-command.t
===SORRY!===
P6M Merging GLOBAL symbols failed: duplicate definition of symbol C-MD5-SIZE
Searching for the symbol gave me exactly one location where it was
defined. So the error should be more explicit in where it was first
found and where the second throws the error. In the mean time I found
that ordering of use statements make a difference after which the error
disappears.