Skip Menu |
Report information
Id: 128891
Status: open
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: cpan [at] zoffix.com
Cc:
AdminCc:

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



Subject: [BUG] .^compose in mainline in precompiled modules causes STable conflict
Download (untitled) / with headers
text/plain 214b
$ echo 'Int.^compose' > Foo.pm6; echo 'use Foo' > Bar.pm6; perl6 -I. -MBar -e '' ===SORRY!=== STable conflict detected during deserialization. (Probable attempt to load two modules that cannot be loaded together).
RT-Send-CC: perl6-compiler [...] perl.org
Download (untitled) / with headers
text/plain 682b
On Wed Aug 10 12:43:38 2016, cpan@zoffix.com wrote: Show quoted text
> $ echo 'Int.^compose' > Foo.pm6; echo 'use Foo' > Bar.pm6; perl6 -I. > -MBar -e '' > ===SORRY!=== > STable conflict detected during deserialization. > (Probable attempt to load two modules that cannot be loaded together).
This needs a better error (we have the data available now to say which type, and almost certainly can say which modules too, and shouldn't mention STables which are an implementation detail). However, it's not expected that precompilation and module load-time monkey-patching of things will work together. Add "no precompilation". (It may also be that adding a BEGIN is sufficient to avoid the problem.)


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