-
Notifications
You must be signed in to change notification settings - Fork 10.5k
SILGen: Handle key paths with @objc optional
property and subscript components
#42137
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
SILGen: Handle key paths with @objc optional
property and subscript components
#42137
Conversation
@swift-ci please smoke test macOS |
Note that this will still crash during SIL generation if the |
Thanks! Yeah, setters on optional properties (and on properties found through dynamic member lookup on |
@swift-ci Please test |
Will do in a follow-up! |
It looks like the type checker after this change still treats a key path referencing an |
Sorry, got carried away, I'm on it now! |
Resolves #58337