> On 31 Dec 2015, at 13:47, Faye (via RT) <perl6-bugs-follo...@perl.org> 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' > $
This appears to be happening *inside* an nqp::loadbytecode of CompUnit::Loader.load-precompilation-file . Which would lead me to think that some dynamic variable is not set up correctly. Liz