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
[SR-13359] [Sema] Tailored diagnostics for missing subscript members on tuple type base #33380
[SR-13359] [Sema] Tailored diagnostics for missing subscript members on tuple type base #33380
Conversation
0f4b9f1
to
99a011e
Compare
…ubscripts on tuple base types
99a011e
to
0d5bfcb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Slightly concerned about the diagnostic wording here. Also, should we have additional handling + tests here for labelled tuples?
…teral within bounds of tuple elements
…tring literals that matches a label of labeled tuples
681f8b1
to
e8f1784
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
@swift-ci please smoke test |
@swift-ci Please smoke test |
@swift-ci Please smoke test Windows Platform |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, thank you, @LucianoPAlmeida! I have left a couple of minor notes inline.
@swift-ci Please smoke test |
@swift-ci Please smoke test Windows Platform |
1f45291
to
d62e9dd
Compare
@swift-ci Please smoke test |
@swift-ci Please smoke test Windows Platform |
This adds a tailored diagnostic for missing subscript members on tuple type base.
Resolves SR-13359.