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

Assinging a $/ to a scalar and then accessing its extened .keys method produces a "Null PMC" error #640

Closed
p6rt opened this issue Jan 20, 2009 · 4 comments

Comments

@p6rt
Copy link

p6rt commented Jan 20, 2009

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

Searchable as RT62530$

@p6rt
Copy link
Author

p6rt commented Jan 20, 2009

From eric.hodges@gmail.com

class Match is also { method keys () {return %(self).keys }; };
rule a {H};
say "Hello" ~~ /<a>/;
say $/.keys.perl;
my $x = $/; $x.keys.perl.say;

Produces​:
H
["a"]
Null PMC access in find_method()

@p6rt
Copy link
Author

p6rt commented Apr 27, 2009

From @ronaldxs

Tests for this problem now added to t/spec/S05-match/capturing-
contexts.t now pass. Recommend closing.

@p6rt
Copy link
Author

p6rt commented Apr 27, 2009

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

@p6rt
Copy link
Author

p6rt commented Apr 27, 2009

eric.hodges@gmail.com - Status changed from 'open' to 'resolved'

@p6rt p6rt closed this as completed Apr 27, 2009
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