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#126700 (status was 'resolved')
Searchable as RT126700$
The text was updated successfully, but these errors were encountered:
rakudo.jvm seems to ignore that $pos is negative in the following example:
$ perl6-j -e 'say index("xxy", "y", -1)' 2
$ perl6-m -e 'say index("xxy", "y", -1)' Nil
There are failing tests for rakudo.jvm in S32-str/index.t.
Sorry, something went wrong.
After Rakudo commit negative start positions are disallowed:
$ perl6 -e 'say index("xxy", "y", -1).perl' Failure.new(exception => X::OutOfRange.new(what => "Position in index", got => -1, range => "0..3", comment => Any), backtrace => Backtrace.new)
Tested in S32-str/index.t and S32-str/rindex.t
I'm closing this ticket as 'resolved'.
@usev6 - Status changed from 'new' to 'resolved'
No branches or pull requests
Migrated from rt.perl.org#126700 (status was 'resolved')
Searchable as RT126700$
The text was updated successfully, but these errors were encountered: