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 including string variables in Rakudo #576

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

Null PMC access when including string variables in Rakudo #576

p6rt opened this issue Jan 4, 2009 · 9 comments

Comments

@p6rt
Copy link

p6rt commented Jan 4, 2009

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

Searchable as RT61960$

@p6rt
Copy link
Author

p6rt commented Jan 4, 2009

From @finanalyst

$ perl6

my ($x,$y)=<abcdefg fg>;$x~~/ $y / and say "match"
Null PMC access in get_string()

@p6rt
Copy link
Author

p6rt commented Jan 26, 2009

From @masak

<masak> rakudo​: my $a = "a"; say "a" ~~ /$a/
<p6eval> rakudo 36017​: OUTPUT«Null PMC access in get_string() [...]
* masak submits rakudobug
<masak> rakudo​: my $a = /a/; say "a" ~~ /$a/
<p6eval> rakudo 36017​: OUTPUT«Null PMC access in get_string() [...]

@p6rt
Copy link
Author

p6rt commented Mar 15, 2009

From @masak

<masak> rakudo​: my $a = "foo"; $a ~~ /$a/; say "alive"
<p6eval> rakudo 5b1ff9​: OUTPUT«Null PMC access in get_string() [...]
<masak> is this a known one? how do I work around it?
* masak submits rakudobug
<masak> rakudo​: my $a = "foo"; my $workaround = eval("/'$a'/"); say $a
~~ $workaround
<p6eval> rakudo 5b1ff9​: OUTPUT«foo␤»
<masak> that works.

@p6rt
Copy link
Author

p6rt commented Jul 16, 2009

From @kyleha

This is the same as 61960, so I'm merging them.

@p6rt
Copy link
Author

p6rt commented Jul 17, 2009

From @kyleha

This is an automatically generated mail to inform you that tests are now available in b/t/spec/S05-interpolation/regex-in-variable.t

@p6rt
Copy link
Author

p6rt commented Jul 17, 2009

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

@p6rt
Copy link
Author

p6rt commented Dec 21, 2009

From philipp@marek.priv.at

rakudo​: my $a="​:"; my $b="aa​:a​:ag.​:f"; $b.subst( /$a/, "-"); say $b;
rakudo 8dc189​: Null PMC access in get_string()&#​9252;in Main (file <unknown>, line
<unknown>)&#​9252;

--
Versioning your /etc, /home or even your whole installation?
  Try fsvs (fsvs.tigris.org)!

@p6rt
Copy link
Author

p6rt commented Mar 23, 2010

From @ShimmerFairy

The stated problems no longer generate Null PMC access, and the
additions to t/spec/S05-interpolation/regex-in-variable.t related to
this bug pass, so this bug is resolved.
--
Don't Panic!

@p6rt
Copy link
Author

p6rt commented Mar 23, 2010

@ShimmerFairy - Status changed from 'open' to 'resolved'

@p6rt p6rt closed this as completed Mar 23, 2010
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