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 pair colon syntax in a C<loop> refers to an attribute in Rakudo #1450

Closed
p6rt opened this issue Dec 20, 2009 · 5 comments

Comments

@p6rt
Copy link

p6rt commented Dec 20, 2009

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

Searchable as RT71466$

@p6rt
Copy link
Author

p6rt commented Dec 20, 2009

From @masak

<masak> rakudo​: class A { has $!to; method x { loop { (​:$!to); } } }
<p6eval> rakudo 8dc189​: The opcode 'getattribute_p_ic_sc'
(getattribute<3>) was not found. Check the type and number of the
arguments [...]
* masak submits horrible rakudobug

The name '$!to' is not significant. Removing the 'loop {}' causes the
problem to go away.

@p6rt
Copy link
Author

p6rt commented Jul 28, 2010

From @coke

On Sun Dec 20 09​:56​:55 2009, masak wrote​:

<masak> rakudo​: class A { has $!to; method x { loop { (​:$!to); } } }
<p6eval> rakudo 8dc189​: The opcode 'getattribute_p_ic_sc'
(getattribute<3>) was not found. Check the type and number of the
arguments [...]
* masak submits horrible rakudobug

The name '$!to' is not significant. Removing the 'loop {}' causes the
problem to go away.

\o/

22​:50 < [Coke]> rakudo​: class A { has $!to; method x { loop { (​:$!to); } } };
  "alive".say
22​:50 <+p6eval> rakudo 2808a5​: OUTPUT«alive␤»

assigning to moritz for testing?

--
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 Feb 23, 2011

From @zhuomingliang

test added. see
Raku/roast@a3ccf3d

@p6rt
Copy link
Author

p6rt commented Feb 23, 2011

@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