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

fix(coverage): better find of loc start byte position #8958

Merged
merged 1 commit into from
Sep 25, 2024

Conversation

grandizzy
Copy link
Collaborator

Motivation

potentially fix for #8957 (wasn't able to reproduce locally): determine source location start by using char_indices and avoid panic when slicing source

Solution

@grandizzy grandizzy marked this pull request as ready for review September 25, 2024 06:07
@grandizzy grandizzy merged commit 8d5a66d into foundry-rs:master Sep 25, 2024
21 checks passed
@grandizzy grandizzy deleted the issue-8957 branch September 25, 2024 07:20
rplusq pushed a commit to rplusq/foundry that referenced this pull request Sep 25, 2024
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.

3 participants