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 accessing a value of an enum renamed with a 'constant' declaration in Rakudo #1071

Closed
p6rt opened this issue Jun 16, 2009 · 6 comments

Comments

@p6rt
Copy link

p6rt commented Jun 16, 2009

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

Searchable as RT66650$

@p6rt
Copy link
Author

p6rt commented Jun 16, 2009

From @masak

<masak> rakudo​: enum A​::B <c d e>; constant B = A​::B; say B​::c
<p6eval> rakudo 952fe6​: OUTPUT«Null PMC access in invoke() [...]
* masak submits rakudobug

@p6rt
Copy link
Author

p6rt commented Jul 28, 2010

From @coke

On Tue Jun 16 15​:15​:51 2009, masak wrote​:

<masak> rakudo​: enum A​::B <c d e>; constant B = A​::B; say B​::c
<p6eval> rakudo 952fe6​: OUTPUT«Null PMC access in invoke() [...]
* masak submits rakudobug

21​:42 < [Coke]> rakudo​: enum A​::B <c d e>; constant B = A​::B; say B​::c
21​:42 <+p6eval> rakudo 7f5c22​: OUTPUT«===SORRY!===␤Constant type declarator not
  yet implemented at line 22, near "= A​::B; sa"␤»

--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Jul 28, 2010

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

@p6rt
Copy link
Author

p6rt commented Oct 10, 2011

From @coke

On Tue Jun 16 15​:15​:51 2009, masak wrote​:

<masak> rakudo​: enum A​::B <c d e>; constant B = A​::B; say B​::c
<p6eval> rakudo 952fe6​: OUTPUT�Null PMC access in invoke() [...]
* masak submits rakudobug

19​:35 < [Coke]> rakudo​: enum A​::B <c d e>; constant B = A​::B; say B​::c
19​:35 <+p6eval> rakudo 38907e​: OUTPUT«A​::B​::c␤»

Closable with tests, I think?

--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Jan 6, 2012

From @moritz

works now, and tested in S04-declarations/constant.t.

@p6rt
Copy link
Author

p6rt commented Jan 6, 2012

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