This is a quick brain-dump I did last weekend on how I think we can fix expression type checking times for expressions involving operators. Although it doesn't (yet) explicitly mention support for explicit operator references like this, I was intending on fleshing out the details to explicitly support that as well: https://github.com/rudkx/swift-evolution/blob/operators-as-members/proposals/9999-operators-as-members.md
Attachment: Download
Additional Detail from JIRA
md5: c6484910984c9bb02a6fdbccf9ebd538
Issue Description:
Xcode does not complete static operator implementations. For example:
struct Foo: Comparable {
}
typealias Fooquatable = (Foo, Foo) -> Bool

Neither `==` nor `<` is listed and you cannot refer to `Foo.==` or `Foo.<` in code.
The text was updated successfully, but these errors were encountered: