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
Null PMC access when declaring operator with a backslash in Rakudo #3041
Comments
From @masak<tadzik> masak: I have a shiny new rakudobug for you |
From @usev6On Moar and on JVM all of those declarations run fine. On Parrot the errors are still the same. I added tests (fudged for Parrot) for two of the different declarations to S06-operator-overloading/sub.t with the following commit: Raku/roast@dea36c4818 |
1 similar comment
From @usev6On Moar and on JVM all of those declarations run fine. On Parrot the errors are still the same. I added tests (fudged for Parrot) for two of the different declarations to S06-operator-overloading/sub.t with the following commit: Raku/roast@dea36c4818 |
@usev6 - Status changed from 'new' to 'open' |
From @usev6As FROGGS pointed out on IRC (http://irclog.perlgeek.de/perl6/2014-10-07#i_9469198) the behaviour on Parrot is not exactly as last year. I did a fresh build and now I get the "Null PMC access" errors only when putting the declaration in an extra block. (That's what happening in my tests where I use 'lives_ok { sub postfix:<\\>($) {} }, "OK"') So for Rakudo on newly built Parrot:
$ perl6-p -e 'sub postfix:<\\>($) {}; say "alive"' $ perl6-p -e 'use Test; lives_ok { sub prefix:<\\>($) {} }, "OK"' |
1 similar comment
From @usev6As FROGGS pointed out on IRC (http://irclog.perlgeek.de/perl6/2014-10-07#i_9469198) the behaviour on Parrot is not exactly as last year. I did a fresh build and now I get the "Null PMC access" errors only when putting the declaration in an extra block. (That's what happening in my tests where I use 'lives_ok { sub postfix:<\\>($) {} }, "OK"') So for Rakudo on newly built Parrot:
$ perl6-p -e 'sub postfix:<\\>($) {}; say "alive"' $ perl6-p -e 'use Test; lives_ok { sub prefix:<\\>($) {} }, "OK"' |
From @FROGGSLatest parrot does it: FROGGS p: { sub postfix:<\\>($) {} }; say "alive" FROGGS p: { sub postfix:<\\>($) {}; say 42\\ }; say "alive" |
From @FROGGSFixed in parrot in commits up to: parrot/parrot@7bc5452 |
@FROGGS - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#116643 (status was 'resolved')
Searchable as RT116643$
The text was updated successfully, but these errors were encountered: