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

.^compose in mainline in precompiled modules causes STable conflict #5554

Open
p6rt opened this issue Aug 10, 2016 · 3 comments
Open

.^compose in mainline in precompiled modules causes STable conflict #5554

p6rt opened this issue Aug 10, 2016 · 3 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Aug 10, 2016

Migrated from rt.perl.org#128891 (status was 'open')

Searchable as RT128891$

@p6rt
Copy link
Author

p6rt commented Aug 10, 2016

From @zoffixznet

$ 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).

@p6rt
Copy link
Author

p6rt commented Aug 10, 2016

From @jnthn

On Wed Aug 10 12​:43​:38 2016, cpan@​zoffix.com wrote​:

$ 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.)

@p6rt
Copy link
Author

p6rt commented Aug 10, 2016

The RT System itself - Status changed from 'new' to 'open'

@p6rt p6rt added the Bug label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant