Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

semver: fix intersection of point and open range#324

Open
x746e wants to merge 1 commit intogoogle:main from
x746e:fix-empty-span-intersection
Open

semver: fix intersection of point and open range #324
x746e wants to merge 1 commit intogoogle:main from
x746e:fix-empty-span-intersection

Conversation

@x746e
Copy link

@x746e x746e commented Jan 15, 2026

Fixes a bug where intersecting a point version like [1.0.0, 1.0.0] with an open range like (1.0.0, inf) incorrectly resulted in a valid span instead of empty. Added regression tests.

Fixes a bug where intersecting a point version like [1.0.0, 1.0.0] with an open range like (1.0.0, inf) incorrectly resulted in a valid span instead of empty. Added regression tests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /