Skip to content

[TypeChecker] SE-0347: Avoid type inference from caller-site defaults #42036

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
Mar 26, 2022

Conversation

xedin
Copy link
Contributor

@xedin xedin commented Mar 25, 2022

Such default expressions are injected as an argument to each call site,
so they cannot participate in inference at declaration site.

Such default expressions are injected as an argument to each call site,
so they cannot participate in inference at declaration site.
@xedin xedin requested a review from hborla March 25, 2022 21:36
@xedin
Copy link
Contributor Author

xedin commented Mar 25, 2022

@swift-ci please test

@xedin xedin merged commit 53617f0 into swiftlang:main Mar 26, 2022
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.

2 participants