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-6906] KeyPath to an element of an optional tuple crashes the compiler #49455
Comments
Reproduces on master:
|
We should at least diagnose here. (Or just support this, it'd be really easy.) Thanks! |
@swift-ci create |
This one is also still failing for me on latest Xcode beta (10.2b4): Apple Swift version 5.0 (swiftlang-1001.0.69 clang-1001.0.45.2) Target: x86_64-apple-darwin18.2.0 |
This no longer crashes in 5.1 as tuple key paths are now supported. |
@tcldr This no longer crashes on main or 5.5 branch, @theblixguy reported that this was fixed in 5.1, please use the latest snapshot of either main or 5.5 branch from swift.org to verify and close. |
Environment
Swift version 4.0.3 (swiftlang-900.0.74.1 clang-900.0.39.2)
Additional Detail from JIRA
md5: 42963eb9b8cc02205f6606b795b91fbc
Issue Description:
I understand that this isn't yet supported, but a KeyPath to an element of an optional tuple currently crashes the compiler:
(Also, should I post an improvement request for this feature?)
The text was updated successfully, but these errors were encountered: