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 assigning to the (questionably declared) variable $A::b in Rakudo #1817

Closed
p6rt opened this issue Jun 9, 2010 · 5 comments

Comments

@p6rt
Copy link

p6rt commented Jun 9, 2010

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

Searchable as RT75632$

@p6rt
Copy link
Author

p6rt commented Jun 9, 2010

From @masak

<masak> std​: package A {}; my $A​::b
<p6eval> std 31183​: OUTPUT«ok 00​:01 108m␤»
<masak> hm.
<masak> rakudo​: package A {}; my $A​::b = 5
<p6eval> rakudo a54677​: OUTPUT«Null PMC access in getprop() [...]
* masak submits rakudobug
<masak> rakudo​: my $A​::b = 5
<p6eval> rakudo a54677​: OUTPUT«Null PMC access in getprop() [...]
<masak> even easier.
<jnthn> ah, should just ban long names there...
<masak> yes.

@p6rt
Copy link
Author

p6rt commented Aug 11, 2010

@coke - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Oct 8, 2011

From @coke

On Wed Jun 09 06​:17​:16 2010, masak wrote​:

<masak> std​: package A {}; my $A​::b
<p6eval> std 31183​: OUTPUT«ok 00​:01 108m␤»
<masak> hm.
<masak> rakudo​: package A {}; my $A​::b = 5
<p6eval> rakudo a54677​: OUTPUT«Null PMC access in getprop() [...]
* masak submits rakudobug
<masak> rakudo​: my $A​::b = 5
<p6eval> rakudo a54677​: OUTPUT«Null PMC access in getprop() [...]
<masak> even easier.
<jnthn> ah, should just ban long names there...
<masak> yes.

Fixed.

16​:23 < [Coke]> rakudo​: package A {}; my $A​::b = 5
16​:23 <+p6eval> rakudo 88c5a5​: ( no output )
16​:23 < [Coke]> rakudo​: my $A​::b =5
16​:23 <+p6eval> rakudo 88c5a5​: ( no output )

Closable with tests.

--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Jul 15, 2012

From @bbkr

Tests in​:

Raku/roast@c5c61f6174

@p6rt
Copy link
Author

p6rt commented Jul 15, 2012

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant