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
md5: 73a377b893a4dab34ff0158768ba72bf
Issue Description:
let kp = \Int.byteSwapped.byteSwapped.signum()
The code above generates two diagnostics, the second one is invalid because I have more than one components in the keypath, even if you don't count the invalid one
<source>:1:39: error: invalid component of Swift key path let kp = \Int.byteSwapped.byteSwapped.signum() ^ <source>:1:10: error: key path must have at least one component let kp = \Int.byteSwapped.byteSwapped.signum() ^
(in 5.3 the error was talking about adding explicit type to the keypath, even though the type is explicit already)
The text was updated successfully, but these errors were encountered:
Fixed on master by #37521 cukier (JIRA User) Can you please verify on next available snapshot and close. Thanks
Sorry, something went wrong.
LucianoPAlmeida
No branches or pull requests
Additional Detail from JIRA
md5: 73a377b893a4dab34ff0158768ba72bf
Issue Description:
The code above generates two diagnostics, the second one is invalid because I have more than one components in the keypath, even if you don't count the invalid one
(in 5.3 the error was talking about adding explicit type to the keypath, even though the type is explicit already)
The text was updated successfully, but these errors were encountered: