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

Merge stable #2299

Merged
merged 7 commits into from
Jul 13, 2022
Merged

Merge stable #2299

merged 7 commits into from
Jul 13, 2022

Conversation

kinke
Copy link
Contributor

@kinke kinke commented Jul 13, 2022

No description provided.

s-ludwig and others added 7 commits July 10, 2022 10:14
if (this.matchesAny) return true;
if (this.isSCM) return true;
if (this.isExactVersion && mode == VersionMatchMode.strict
&& this.version_.toString != v.toString)
return false;
return this.m_range.matches(v);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was refactored in master in the meantime. I moved the strict check before the new VersionRange.matches() call. Maybe the latter should get a new VersionMatchMode param and handle it itself?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably, but the current version should work just fine, even if it's a bit ugly.

@kinke kinke requested review from Geod24 and s-ludwig July 13, 2022 13:44
@kinke kinke marked this pull request as ready for review July 13, 2022 14:09
@Geod24 Geod24 merged commit 09b35bc into dlang:master Jul 13, 2022
@kinke kinke deleted the merge_stable branch July 13, 2022 14:21
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