On Wed Jul 20 19:43:32 2016, c...@zoffix.com wrote: > A bit more investigation: > * If the string given to `x` is more than 1 character, the bug doesn't > appear > * The bug also doesn't seem to be present on JVM backend > > <Zoffix> m: my $a = '.|' x 4 ~ 'a'; $a.substr-rw(1,1) = ''; say $a > <camelia> rakudo-moar 713ad5: OUTPUT«..|.|.|a» > <Zoffix> m: my $a = '.' x 4 ~ 'a'; $a.substr-rw(1,1) = ''; say $a > <camelia> rakudo-moar 713ad5: OUTPUT«....» > <Zoffix> j: my $a = '.' x 4 ~ 'a'; $a.substr-rw(1,1) = ''; say $a > <camelia> rakudo-jvm cd19db: OUTPUT«...a» > > > ♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥ > 🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁 > > > TODO-fudged tests added in > https://github.com/perl6/roast/commit/3f964dca6d > > > 🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁 > ♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥
This was effectively a dupe of RT #123602, which I've just fixed. Untodo'd the now-passing spectest in substr-rw.t.