Skip to content

[CSClosure] Fix handling of property wrapped pattern bindings #59300

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

Closed
wants to merge 2 commits into from

Conversation

xedin
Copy link
Contributor

@xedin xedin commented Jun 7, 2022

Property wrappers trigger initializer synthesis. Synthesized
initializers should not be re-typechecked when encountered e.g.
while re-solving closure with a different contextual type.

Resolves: #59294
Resolves: rdar://94506352

Property wrappers trigger initializer synthesis. Synthesized
initializers should not be re-typechecked when encountered e.g.
 while re-solving closure with a different contextual type.

Resolves: swiftlang#59294
Resolves: rdar://94506352
@xedin xedin requested a review from hborla June 7, 2022 20:42
@xedin
Copy link
Contributor Author

xedin commented Jun 7, 2022

@swift-ci please test

The deepest expression is the one which introduced the ambiguity into
the chain, so depth and index should be deciding factors and number of
overloads - a tie-breaker, while choosing what to diagnose.

Resolves: rdar://94360230
@xedin xedin closed this Jun 7, 2022
@xedin xedin deleted the rdar-94506352 branch June 7, 2022 22:50
@xedin
Copy link
Contributor Author

xedin commented Jun 7, 2022

I've deleted the branch by mistake :/

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.

Property Wrapper make compiler crash in function body (Xcode 14 and main?)
2 participants