Skip to content

[CSBindings] Delay default binding production until inference is exhausted #68317

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
merged 1 commit into from
Sep 7, 2023

Conversation

xedin
Copy link
Contributor

@xedin xedin commented Sep 4, 2023

Previously, default bindings (from Defaultable and FallbackType constraints)
where added to the set right after the first attempt, but that is incorrect because
binding producer should exhaust the chain of superclasses and other "inferred"
bindings first or risk producing subpar solutions.

…usted

Previously, default bindings (from Defaultable and FallbackType
constraints) where added to the set right after the first attempt,
but that is incorrect because binding producer should exhaust the
chain of superclasses and other "inferred" bindings first or risk
producing subpar solutions.
@xedin xedin requested a review from hborla as a code owner September 4, 2023 17:43
@xedin
Copy link
Contributor Author

xedin commented Sep 4, 2023

cc @amritpan

@xedin
Copy link
Contributor Author

xedin commented Sep 4, 2023

@swift-ci please test

@xedin
Copy link
Contributor Author

xedin commented Sep 4, 2023

@swift-ci please test source compatibility release

@xedin xedin merged commit 68d146e into swiftlang:main Sep 7, 2023
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