You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
./perl6 -e 'my $a = "a" x 2**30;my $b = "b" x 2**30;my $c = $a ~ $b;my $d
= $b ~ $a;my $e = $c ~ $d;say "length of \$e == {$e.chars}, expecting
{$c.chars+$d.chars}";'
length of $e == 0, expecting 4294967296
./perl6 -version
This is Rakudo version 2016.04-17-g5a14162 built on MoarVM version 2016.04
implementing Perl 6.c.
A Rakudo PR was submitted (rakudo/rakudo#754), but
closed with the suggestion that an RT ticket be created and the solution be
implemented at a lower level than Rakudo/Perl6.
Fixed to now throw an exception if the result of string repeating or concatenation would result in something larger than strings are allowed to be in MoarVM commit MoarVM/MoarVM@beefd2b
Brought into Rakudo with commit rakudo/rakudo@22f00cd72d
Tests added to roast with commit Raku/roast@40c7c4b
Migrated from rt.perl.org#127971 (status was 'resolved')
Searchable as RT127971$
The text was updated successfully, but these errors were encountered: