Skip to content

[Sema] [CSDiag] Fix incorrect diagnostic when using keypath with tuples #20495

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 5 commits into from
Nov 10, 2018
Merged

[Sema] [CSDiag] Fix incorrect diagnostic when using keypath with tuples #20495

merged 5 commits into from
Nov 10, 2018

Conversation

theblixguy
Copy link
Collaborator

This PR fixes an issue where an incorrect diagnostic would be emitted when using key path with tuples.

Resolves SR-9213.

@theblixguy
Copy link
Collaborator Author

theblixguy commented Nov 10, 2018

@swift-ci Please smoke test

EDIT: Just realised only people with commit access can invoke swift-ci 😅

Copy link
Contributor

@xedin xedin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@xedin
Copy link
Contributor

xedin commented Nov 10, 2018

@theblixguy once you fix this small newline nit I mentioned, I'll run the CI for you.

@theblixguy
Copy link
Collaborator Author

@theblixguy once you fix this small newline nit I mentioned, I'll run the CI for you.

Done! @xedin

@xedin
Copy link
Contributor

xedin commented Nov 10, 2018

@swift-ci please smoke test

@theblixguy
Copy link
Collaborator Author

@xedin Seems like it can be merged now 🎉

@xedin xedin merged commit c0c6052 into swiftlang:master Nov 10, 2018
@xedin
Copy link
Contributor

xedin commented Nov 10, 2018

@theblixguy Thank you!

@theblixguy theblixguy deleted the fix/SR-9213 branch November 10, 2018 22:13
@theblixguy theblixguy changed the title [Sema] [CSDiag] Fixes incorrect diagnostic when using keypath with tuples [Sema] [CSDiag] Fix incorrect diagnostic when using keypath with tuples Nov 11, 2018
Copy link
Contributor

@jrose-apple jrose-apple left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for doing this!

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.

4 participants