We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Migrated from rt.perl.org#119201 (status was 'resolved')
Searchable as RT119201$
The text was updated successfully, but these errors were encountered:
Rakudo fails to set $0 correctly when using the "$var .= subst()" self-assignment form:
[13:42:34] $ perl6 -e 'my $r = "VIIII"; my ($m, $d, $c) = <X V I>; $r .= subst(rx/ ($d)? $c ** 4 /, { $0 ?? "$c$m" !! "$c$d" }, :g); $r.say;' IV
But it works correctly with the longer "$var = $var.subst()" form:
[13:43:39] $ perl6 -e 'my $r = "VIIII"; my ($m, $d, $c) = <X V I>; $r = $r.subst(rx/ ($d)? $c ** 4 /, { $0 ?? "$c$m" !! "$c$d" }, :g); $r.say;' IX
[13:44:00] $ perl6 --version This is perl6 version 2013.07-113-g45e8c45 built on parrot 5.5.0 revision RELEASE_5_5_0
Sorry, something went wrong.
Patch: https://rt-archive.perl.org/perl6//Public/Bug/Display.html?id=119201
Test: Raku/roast@b023bb0070
The RT System itself - Status changed from 'new' to 'open'
@FROGGS - Status changed from 'open' to 'resolved'
No branches or pull requests
Migrated from rt.perl.org#119201 (status was 'resolved')
Searchable as RT119201$
The text was updated successfully, but these errors were encountered: