The problems regarding negative overflows seem to be fixed. All tests for this
ticket are passing. I'm closing this ticket as 'resolved'.
For the related discussion (different behavior of nqp::index with negative
$startpos between Moar and JVM) I opened a new ticket:
https://rt.perl.org/Ticket
It looks like the overflow still happens. (Expected result is different
nowadays, since negative start positions are disallowed (see
https://github.com/rakudo/rakudo/commit/fa3ce116e3).
See also http://irclog.perlgeek.de/perl6/2015-11-21#i_11577908
$ perl6-m -e 'say index("xxy", "y",
-
On Tue Aug 11 01:15:38 2015, elizabeth wrote:
> Fixed with 14939e39d24541cc29fd12, tests added with e29df31, closable
Great, ticket closed.
Fixed with 14939e39d24541cc29fd12, tests added with e29df31, closable
> On 11 Aug 2015, at 02:47, Alex Jakimenko (via RT)
> wrote:
>
> # New Ticket Created by Alex Jakimenko
> # Please include the string: [perl #125784]
> # in the subject line of all future correspondence about this issue.
Fixed with 14939e39d24541cc29fd12, tests added with e29df31, closable
> On 11 Aug 2015, at 02:47, Alex Jakimenko (via RT)
> wrote:
>
> # New Ticket Created by Alex Jakimenko
> # Please include the string: [perl #125784]
> # in the subject line of all future correspondence about this issue.
# New Ticket Created by Alex Jakimenko
# Please include the string: [perl #125784]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=125784 >
Code:
say index 'xxy', 'y',
-99