-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[Sema] Improve diagnostics for key path root type inferred as option accessing wrapped member #33603
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
[Sema] Improve diagnostics for key path root type inferred as option accessing wrapped member #33603
Conversation
@swift-ci Please smoke test |
@swift-ci Please smoke test Windows Platform |
1 similar comment
@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!
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.
Thanks!
4c8e8e7
to
b4bd3a7
Compare
b4bd3a7
to
87dac43
Compare
Just adjusted for adding both |
87dac43
to
f6f611a
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 |
…accessing wrapped member
f6f611a
to
4b921c3
Compare
@swift-ci Please smoke test |
@swift-ci Please smoke test Windows Platform |
@swift-ci Please smoke test MacOS platform |
Improve diagnostics for key path root type inferred as option accessing wrapped member to emphasizes that the problem is with the key path's root type being inferred as an optional.
Resolves SR-13079.