[SR-5912] "Unavailable instance method" warning is confusing. #48471
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
regression
swift 4.0
Environment
Swift 3 in Xcode 9 GM Seed
Additional Detail from JIRA
md5: 52d793f68418f41782fb6da4d6665b70
Issue Description:
When updating from Xcode 8 to Xcode 9, my project began getting warnings of the pattern:
Unavailable instance method ‘compareQueryResult(_:toQueryResult🙂’ was used to satisfy a requirement of protocol ‘ResultComparable’.
The issue was diagnosed by @belkadan on [swift-users]:
Since this is a source-breaking change, he asked me to file an issue at https://bugs.swift.org. Noting that at the very least we the diagnostic should be made better.
The text was updated successfully, but these errors were encountered: