Skip to content
New issue

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

Address off-by-1 error in FindLastIndex #507

Merged
merged 1 commit into from
Sep 3, 2023
Merged

Conversation

viceroypenguin
Copy link
Owner

This PR fixes a bug in FindLastIndex; the previous version escaped too early if the predicate to match was valid at index.

@viceroypenguin viceroypenguin added this to the 6.0.0 milestone Sep 3, 2023
@codecov
Copy link

codecov bot commented Sep 3, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: -0.03% ⚠️

Comparison is base (23ec78c) 93.04% compared to head (5d44f61) 93.02%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #507      +/-   ##
==========================================
- Coverage   93.04%   93.02%   -0.03%     
==========================================
  Files         249      249              
  Lines        8184     8184              
  Branches     1635     1635              
==========================================
- Hits         7615     7613       -2     
- Misses        356      358       +2     
  Partials      213      213              
Files Changed Coverage Δ
Source/SuperLinq/FindLastIndex.cs 100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@viceroypenguin viceroypenguin merged commit 1797da1 into master Sep 3, 2023
@viceroypenguin viceroypenguin deleted the findlastindex branch September 3, 2023 22:07
@viceroypenguin viceroypenguin modified the milestones: 6.0.0, 5.3.0 Oct 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant