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 something in $PROCESS:: in Rakudo #2420

Closed
p6rt opened this issue May 2, 2011 · 5 comments
Closed

Null PMC access when assigning to something in $PROCESS:: in Rakudo #2420

p6rt opened this issue May 2, 2011 · 5 comments

Comments

@p6rt
Copy link

p6rt commented May 2, 2011

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

Searchable as RT89706$

@p6rt
Copy link
Author

p6rt commented May 2, 2011

From @masak

<TimToady> rakudo​: $PROCESS​::PROGRAM_NAME = 3; say $*PROGRAM_NAME
<p6eval> rakudo 632f81​: OUTPUT«Null PMC access in getprop()␤ in
'&infix​:<=>' [...]
* masak submits rakudobug
<moritz> rakudo doesn't really do PROCESS or GLOBAL yet
<masak> rakudo​: $PROCESS​::FOO = 3
<p6eval> rakudo 632f81​: OUTPUT«Null PMC access in getprop()␤ in
'&infix​:<=>' [...]

@p6rt
Copy link
Author

p6rt commented Jan 15, 2012

From @jnthn

On Mon May 02 12​:44​:53 2011, masak wrote​:

<TimToady> rakudo​: $PROCESS​::PROGRAM_NAME = 3; say $*PROGRAM_NAME
<p6eval> rakudo 632f81​: OUTPUT«Null PMC access in getprop()␤ in
'&infix​:<=>' [...]
* masak submits rakudobug
<moritz> rakudo doesn't really do PROCESS or GLOBAL yet
<masak> rakudo​: $PROCESS​::FOO = 3
<p6eval> rakudo 632f81​: OUTPUT«Null PMC access in getprop()␤ in
'&infix​:<=>' [...]

Now doesn't crash​:

$PROCESS​::PROGRAM_NAME = 3; say $*PROGRAM_NAME
3
$PROCESS​::FOO = 3
3

Tagging testneeded.

/jnthn

@p6rt
Copy link
Author

p6rt commented Jan 15, 2012

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

@p6rt
Copy link
Author

p6rt commented Nov 14, 2012

From @coke

On Sun Jan 15 08​:36​:27 2012, jnthn@​jnthn.net wrote​:

On Mon May 02 12​:44​:53 2011, masak wrote​:

<TimToady> rakudo​: $PROCESS​::PROGRAM_NAME = 3; say $*PROGRAM_NAME
<p6eval> rakudo 632f81​: OUTPUT«Null PMC access in getprop()␤ in
'&infix​:<=>' [...]
* masak submits rakudobug
<moritz> rakudo doesn't really do PROCESS or GLOBAL yet
<masak> rakudo​: $PROCESS​::FOO = 3
<p6eval> rakudo 632f81​: OUTPUT«Null PMC access in getprop()␤ in
'&infix​:<=>' [...]

Now doesn't crash​:

$PROCESS​::PROGRAM_NAME = 3; say $*PROGRAM_NAME
3
$PROCESS​::FOO = 3
3

Tagging testneeded.

/jnthn

Tests added to S02-names/pseudo.t
--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Nov 14, 2012

@coke - 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