We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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: 58f9811cbdf40b0c4d547b00b68b6606
Issue Description:
Hello,
The current Swift 5.5 version can not deal with key paths to static members.
struct S { static let member = 12 } // Compiler error: Key path cannot refer to static member let kp = \S.Type.member
Some users are asking for this feature. See for example https://forums.swift.org/t/key-path-cannot-refer-to-static-member/28055
But those users are not able to write a Swift Evolution proposal and submit a working implementation, because these are very hard tasks.
So those users are stuck with a reasonable feature request, but no solution.
Please help us, thank you.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Additional Detail from JIRA
md5: 58f9811cbdf40b0c4d547b00b68b6606
Issue Description:
Hello,
The current Swift 5.5 version can not deal with key paths to static members.
Some users are asking for this feature. See for example https://forums.swift.org/t/key-path-cannot-refer-to-static-member/28055
But those users are not able to write a Swift Evolution proposal and submit a working implementation, because these are very hard tasks.
So those users are stuck with a reasonable feature request, but no solution.
Please help us, thank you.
The text was updated successfully, but these errors were encountered: