Skip to content

Ignore empty line sequences#359

Merged
philipc merged 1 commit intogimli-rs:masterfrom
philipc:empty-sequence
Sep 28, 2025
Merged

Ignore empty line sequences#359
philipc merged 1 commit intogimli-rs:masterfrom
philipc:empty-sequence

Conversation

@philipc
Copy link
Contributor

@philipc philipc commented Sep 27, 2025

This doesn't matter for Lines::find_location, but it does matter for Lines::find_location_range, because we might sort the sequences so that the empty sequence comes later, and start the iteration at the empty sequence.

Noticed in #358

This doesn't matter for `Lines::find_location`, but it does matter for
`Lines::find_location_range`, because we might sort the sequences so
that the empty sequence comes later, and start the iteration at the
empty sequence.
@philipc philipc merged commit b85e315 into gimli-rs:master Sep 28, 2025
12 checks passed
@philipc philipc deleted the empty-sequence branch September 28, 2025 03:25
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