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 binding an attribute in a method in Rakudo #910

Closed
p6rt opened this issue Apr 19, 2009 · 8 comments
Closed

Null PMC access when binding an attribute in a method in Rakudo #910

p6rt opened this issue Apr 19, 2009 · 8 comments

Comments

@p6rt
Copy link

p6rt commented Apr 19, 2009

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

Searchable as RT64850$

@p6rt
Copy link
Author

p6rt commented Apr 19, 2009

From @masak

<masak> rakudo​: class A { has $.x; method foo { $!x := 42 } }; my $a =
A.new; $a.foo; say A.x
<p6eval> rakudo c271e1​: OUTPUT«Null PMC access in set_attr_str() [...]
* masak submits rakudobug

@p6rt
Copy link
Author

p6rt commented Aug 25, 2009

From @jnthn

On Sun Apr 19 09​:16​:27 2009, masak wrote​:

<masak> rakudo​: class A { has $.x; method foo { $!x := 42 } }; my $a =
A.new; $a.foo; say A.x
<p6eval> rakudo c271e1​: OUTPUT«Null PMC access in set_attr_str() [...]
* masak submits rakudobug

Turned out to be a PCT bug, which I tracked down and fixed. We bumped up
to latest Parrot since, so I've added a test for this and it's now resolved.

Thanks,

Jonathan

@p6rt
Copy link
Author

p6rt commented Aug 25, 2009

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

@p6rt
Copy link
Author

p6rt commented Aug 25, 2009

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

@p6rt
Copy link
Author

p6rt commented Nov 18, 2009

From @kyleha

The test for this has started failing again as of commit 01c042fe88248,
which was a bump to PARROT_REVISION 42403.

@p6rt
Copy link
Author

p6rt commented Nov 18, 2009

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

@p6rt
Copy link
Author

p6rt commented Jul 9, 2010

From @moritz

On Sun Apr 19 09​:16​:27 2009, masak wrote​:

<masak> rakudo​: class A { has $.x; method foo { $!x := 42 } }; my $a =
A.new; $a.foo; say A.x
<p6eval> rakudo c271e1​: OUTPUT«Null PMC access in set_attr_str() [...]
* masak submits rakudobug

Needs to say $a.x in the last step... the tests now pass again,
closing ticket again.

@p6rt
Copy link
Author

p6rt commented Jul 9, 2010

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

@p6rt p6rt closed this as completed Jul 9, 2010
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant