Skip to content

[CSDiag] Adjust assert to account for changes in `filterContextualMem… #24926

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
May 20, 2019

Conversation

xedin
Copy link
Contributor

@xedin xedin commented May 20, 2019

…berList`.

Originally filterContextualMemberList would only return a limited
set of closeness kinds CC_GeneralMismatch, CC_Argument{Label, Count}Mismatch,
and unavailable/inaccessible. At some point later it also started
matching almost everything besides CC_SelfMismatch and logic in
visitUnresolvedMemberExpr needs to get adjusted to account for that.

Resolves: rdar://problem/50668864

…berList`.

Originally `filterContextualMemberList` would only return a limited
set of closeness kinds `CC_GeneralMismatch`, `CC_Argument{Label, Count}Mismatch`,
and unavailable/inaccessible. At some point later it also started
matching almost everything besides `CC_SelfMismatch` and logic in
`visitUnresolvedMemberExpr` needs to get adjusted to account for that.

Resolves: rdar://problem/50668864
@xedin
Copy link
Contributor Author

xedin commented May 20, 2019

@swift-ci please test

@xedin xedin merged commit 7511e0a into swiftlang:master May 20, 2019
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