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 doing .{block} in Rakudo #2388

Closed
p6rt opened this issue Mar 11, 2011 · 5 comments
Closed

Null PMC access when doing .{block} in Rakudo #2388

p6rt opened this issue Mar 11, 2011 · 5 comments

Comments

@p6rt
Copy link

p6rt commented Mar 11, 2011

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

Searchable as RT85942$

@p6rt
Copy link
Author

p6rt commented Mar 11, 2011

From @masak

<donri> rakudo​: "foo".{ say $^a }
<p6eval> rakudo a38d45​: OUTPUT«Null PMC access in type() [...]
* masak submits rakudobug

@p6rt
Copy link
Author

p6rt commented Oct 19, 2011

From @jnthn

On Fri Mar 11 14​:35​:04 2011, masak wrote​:

<donri> rakudo​: "foo".{ say $^a }
<p6eval> rakudo a38d45​: OUTPUT�Null PMC access in type() [...]
* masak submits rakudobug

Now tells you what's wrong​:

"foo".{ say $^a }
Cannot use placeholder parameter $^a in the mainline

(Yes, this is the correct error; you're doing a postcircumfix there,
e.g. trying to do a hash index and pass it a placeholder).

Tagging testneeded.

/jnthn

@p6rt
Copy link
Author

p6rt commented Oct 19, 2011

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

@p6rt
Copy link
Author

p6rt commented Mar 4, 2012

From @moritz

Now tested in S32-exceptions/misc.t.

@p6rt
Copy link
Author

p6rt commented Mar 4, 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