You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apple Swift version 5.0 (swiftlang-1001.0.69.5 clang-1001.0.46.3).
Additional Detail from JIRA
Votes
0
Component/s
Compiler
Labels
Bug
Assignee
None
Priority
Medium
md5: da02a00c53502377d36661c0fb2303a6
duplicates:
SR-75 Referencing a protocol function crashes the compiler
Issue Description:
protocolP {
funcf()
}
leta = P.f
This currently causes the compiler to segfault.
I actually don't know if the bug is that this doesn't work, or just that it doesn't have a good error message. Using keypaths of a protocol works (most of the time), so why shouldn't this work for non-static functions?
The text was updated successfully, but these errors were encountered:
Environment
Apple Swift version 5.0 (swiftlang-1001.0.69.5 clang-1001.0.46.3).
Additional Detail from JIRA
md5: da02a00c53502377d36661c0fb2303a6
duplicates:
Issue Description:
This currently causes the compiler to segfault.
I actually don't know if the bug is that this doesn't work, or just that it doesn't have a good error message. Using keypaths of a protocol works (most of the time), so why shouldn't this work for non-static functions?
The text was updated successfully, but these errors were encountered: