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 defining a circumfix operator with a double quote (") in Rakudo #2970
Comments
From @masak<bbkr_> r: sub circumfix:<"[" "]"> ($a) { }; |
From @usev6Running the command manually everything is fine (on Parrot, Moar and JVM), but running it as a test resurrects the Null PMC access: $ perl6-p -e 'sub circumfix:<w "> ($a) { }; say q[alive]' $ PERL6LIB=lib perl6-p -e 'use Test; lives_ok { sub circumfix:<w "> ($a) { }; }, "running under Test.pm"' # Failed test 'running under Test.pm' Running it in REPL is also fine:
The nice thing is, that I found out about the problem under Test.pm while adding a test to S06-operator-overloading/sub.t with the following commit: Raku/roast@18a47abfb3 |
1 similar comment
From @usev6Running the command manually everything is fine (on Parrot, Moar and JVM), but running it as a test resurrects the Null PMC access: $ perl6-p -e 'sub circumfix:<w "> ($a) { }; say q[alive]' $ PERL6LIB=lib perl6-p -e 'use Test; lives_ok { sub circumfix:<w "> ($a) { }; }, "running under Test.pm"' # Failed test 'running under Test.pm' Running it in REPL is also fine:
The nice thing is, that I found out about the problem under Test.pm while adding a test to S06-operator-overloading/sub.t with the following commit: Raku/roast@18a47abfb3 |
@usev6 - Status changed from 'new' to 'open' |
From @FROGGSFixed in parrot in commits up to: parrot/parrot@7bc5452 |
@FROGGS - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#115724 (status was 'resolved')
Searchable as RT115724$
The text was updated successfully, but these errors were encountered: