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

No error when variable occurs before its own declaration in a statement in Rakudo #871

Closed
p6rt opened this issue Apr 7, 2009 · 7 comments

Comments

@p6rt
Copy link

p6rt commented Apr 7, 2009

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

Searchable as RT64526$

@p6rt
Copy link
Author

p6rt commented Apr 7, 2009

From @masak

<masak> rakudo​: $a = (my $a)
<p6eval> rakudo 0310a3​: OUTPUT«Null PMC access in getprop() [...]
* masak submits rakudobug
<masak> diakopter​: you keep felling fruit to the ground, and then
leave it lying there... :)
<jnthn> I'm sure we already have at least 2 for this issue.
<masak> this case merits a ticket, methinks.
<moritz_> masak​: we have tickets for that
<masak> this is in the same statement.
<masak> do we have tickets for that?
<moritz_> rakudo​: $a;␤my $a = 1; say "alive"
<p6eval> rakudo 0310a3​: OUTPUT«alive␤»

@p6rt
Copy link
Author

p6rt commented Jun 9, 2009

From @masak

Another way to accomplish this​:

<masak> rakudo​: my $a = $_ given $a
<p6eval> rakudo 5c065e​: OUTPUT«Null PMC access in isa() [...]
* masak submits rakudobug

@p6rt
Copy link
Author

p6rt commented Jun 9, 2009

From [Unknown Contact. See original ticket]

Another way to accomplish this​:

<masak> rakudo​: my $a = $_ given $a
<p6eval> rakudo 5c065e​: OUTPUT«Null PMC access in isa() [...]
* masak submits rakudobug

@p6rt
Copy link
Author

p6rt commented Jun 9, 2009

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

@p6rt
Copy link
Author

p6rt commented Mar 9, 2010

From @moritz

Not all Null PMC Access anymore, but still doesn't die as it should.

@p6rt
Copy link
Author

p6rt commented Jan 7, 2012

From @moritz

This has been fixed some time ago, and discussed in a different ticket;
tests are in S04-declarations/my.t

@p6rt
Copy link
Author

p6rt commented Jan 7, 2012

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

@p6rt p6rt closed this as completed Jan 7, 2012
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