-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[SR-12425] Improving diagnostics for key path application on non-convertible root type #31192
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
Conversation
… path root fail on key path application
… fail on key path application
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 good, thank you! I have left a couple of comments inline which I think need to be addressed before we merge.
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!
da94be0
to
5d2c2e3
Compare
Right, all adjusted I think :) |
b99f5c6
to
5a6ac37
Compare
5a6ac37
to
094ffd6
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.
Perfect, thank you!
@swift-ci please smoke test |
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.
Just some really small nits you may want to consider.
The macOS failure is unrelated, so let us try again. |
@swift-ci please smoke test |
@LucianoPAlmeida Could you please cherry-pick this to 5.3 branch as a simple commit? |
Sure! :) |
Follow up to #31140
This improves diagnostics when applying a key path with a root type that cannot be applied to an instance base that has another non-convertible type.
cc @xedin @hamishknight
Resolves: SR-12425
Resolves: rdar://problem/62200986