-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[runtime] Fix some casts of _SwiftValue #8457
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
* Allow _SwiftValue to be cast to NSObject by yielding the box object itself. * Failed casts from NSDictionary containing _SwiftValue should not crash. SR-4306, rdar://31197066
WIP. Needs tests. |
@swift-ci please test |
Build failed |
Build failed |
@swift-ci please test |
Build failed |
Build failed |
func == should be static
@swift-ci please test |
Build failed |
Build failed |
New test uncovered an additional bug; it fails in the same way with stock Swift. |
Whew, not a real bug: the new test code provokes autorelease pool cruft in some configurations. |
@swift-ci please test |
Build failed |
Build failed |
Thanks @gparker42 ! |
SR-4306, rdar://31197066