Skip to content

[ConstraintSystem] Fix incorrect type-check of IUO pattern bindings #39142

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 2 commits into from
Sep 3, 2021

Conversation

xedin
Copy link
Contributor

@xedin xedin commented Sep 2, 2021

Patterns associated with PatternBindingDecls have to be type-checked
in pattern binding context. Not doing so might result in spurious errors.

Patterns associated with `PatternBindingDecl`s have to be type-checked
in pattern binding context. Not doing so might result in spurious errors.
… variable targets

Instead of passing pattern directly, let's fetch it from the pattern
binding and remove extra argument from `SolutionApplicationTarget::forUninitializedVar`.
@xedin xedin requested a review from hborla September 2, 2021 18:44
@xedin
Copy link
Contributor Author

xedin commented Sep 2, 2021

@swift-ci please smoke test

@xedin
Copy link
Contributor Author

xedin commented Sep 2, 2021

@swift-ci please smoke test Linux platform

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