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

Null PMC access when using &&= or ||= in Rakudo #1584

Closed
p6rt opened this issue Mar 7, 2010 · 6 comments
Closed

Null PMC access when using &&= or ||= in Rakudo #1584

p6rt opened this issue Mar 7, 2010 · 6 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Mar 7, 2010

Migrated from rt.perl.org#73384 (status was 'resolved')

Searchable as RT73384$

@p6rt
Copy link
Author

p6rt commented Mar 7, 2010

From @masak

<masak> rakudo​: my $a = 10; $a &&= 11; say $a
<p6eval> rakudo 54be6d​: OUTPUT«Null PMC access in invoke() [...]
* masak submits rakudobug
<masak> rakudo​: my $a = 10; $a = $a && 11; say $a
<p6eval> rakudo 54be6d​: OUTPUT«11␤»
<masak> so the error has to do with the &&= operator.
<masak> rakudo​: my $a = 0; $a ||= 11; say $a
<p6eval> rakudo 54be6d​: OUTPUT«Null PMC access in invoke() [...]

@p6rt
Copy link
Author

p6rt commented Apr 22, 2010

From @kyleha

This appears to be tested in S03-operators/assign.t (the tests are already
skipped with fudges).

@p6rt
Copy link
Author

p6rt commented Apr 22, 2010

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

@p6rt
Copy link
Author

p6rt commented Jul 27, 2010

From @bbkr

on Atlanta build​:

$ perl6 -e 'my $a = 10; $a &&= 11; say $a'
11
$ perl6 -e 'my $a = 0; $a ||= 11; say $a'
11

but fudged test sets still fails

@p6rt
Copy link
Author

p6rt commented Aug 3, 2010

From @bbkr

works on * release
tests in t/spec/S03-operators/assign.t unfudged

@p6rt
Copy link
Author

p6rt commented Aug 3, 2010

@bbkr - Status changed from 'open' to 'resolved'

@p6rt p6rt closed this as completed Aug 3, 2010
@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