-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[SR-12626] Fix crash when non WritableKeyPath to a set subscript assign #31140
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-12626] Fix crash when non WritableKeyPath to a set subscript assign #31140
Conversation
bbf0432
to
655bc92
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.
Thanks for the fix!
…y path dynamicMemberLookup
655bc92
to
4dfbf6f
Compare
4dfbf6f
to
ab81236
Compare
@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.
LGTM!
@swift-ci please smoke test Linux platform |
Thanks @xedin @hamishknight :) |
This fixes SR-12626 where applying a non-WritableKeyPath to a set subscript crashes the compiler.
Also, partially fixes the SR-12425, fixing the crash, but diagnostics have to be improved. So just added the test cases
cc @xedin @hamishknight :)
Resolves SR-12626.