-
Notifications
You must be signed in to change notification settings - Fork 1
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
Missing serialize REPR function for REPR SCRef | When using a class using a trait that modify metamodel #5254
Comments
From pierre.vigier@gmail.comHi Basically, i have a trait that add a method to a class if applied to an attribute To show case the issue, here is a dummy module, that export a trait "mytrait". file mytraitmodule.pm6 contains that trait you can see that tiny trait in action with the following:
The trait is working fine. Now, if i create a class in a separate file, that does the same thing, and load the class, for the class see file myclass.pm6
You see the issue, really strange, the trait is working by itself, but it's impossible to load a class that uses that trait RabidGravy on IRC told me to add a no precompilation statement on top of the file having the role to temporary solve the issue, and i can confirm it is working. Content of the files: unit class myclass; has $!bar is mytrait; mytraitmodule.pm6: unit module mytraitmodule; multi trait_mod:<is>(Attribute:D $attr, :$mytrait! ) is export { Pierre |
From @LLFournThis is yet another compile time closure serialisation bug. I made a list https://rt.perl.org/Public/Bug/Display.html?id=125634 and added this one to the list :) On Sun, Apr 24, 2016 at 5:02 AM Pierre VIGIER <perl6-bugs-followup@perl.org>
|
The RT System itself - Status changed from 'new' to 'open' |
From pierre.vigier@gmail.comI'm not sure when it got fixed, but the same code now is working without any issues, should we close the ticket? On Tue, 26 Apr 2016 06:20:45 -0700, lloyd.fourn@gmail.com wrote:
|
From @zoffixznetOn Thu, 27 Apr 2017 21:13:34 -0700, pierre.vigier@gmail.com wrote:
Marking this as Tests needed |
From @zoffixznetTests: Raku/roast@72f2c3984c |
@zoffixznet - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#127959 (status was 'resolved')
Searchable as RT127959$
The text was updated successfully, but these errors were encountered: