Skip to content

[CSOptimizer] Decrease an operator argument score only if requires op… #83414

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

Merged

Conversation

xedin
Copy link
Contributor

@xedin xedin commented Jul 30, 2025

…tional injection

This makes sure that optional and non-optional types are ranked uniformly when matched against a generic parameter type that could accept either of them.

This is a more general fix for #83365

…tional injection

This makes sure that optional and non-optional types are ranked
uniformly when matched against a generic parameter type that
could accept either of them.

This is a more general fix for swiftlang#83365
@xedin xedin requested a review from hborla as a code owner July 30, 2025 00:03
@xedin
Copy link
Contributor Author

xedin commented Jul 30, 2025

@swift-ci please test

@xedin
Copy link
Contributor Author

xedin commented Jul 30, 2025

@swift-ci please test source compatibility

@xedin
Copy link
Contributor Author

xedin commented Jul 30, 2025

@swift-ci please test macOS platform

1 similar comment
@xedin
Copy link
Contributor Author

xedin commented Jul 31, 2025

@swift-ci please test macOS platform

@xedin xedin merged commit 3524025 into swiftlang:main Aug 1, 2025
7 checks passed
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