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
Error:
Type 'M' does not conform to protocol 'A'. Protocol requires nested type 'X'; do you want to add it?
Type 'M' does not conform to protocol 'Equatable'
protocolA {
associatedtypeXassociatedtypeYstaticvarx: X { get }
staticvary: Y { get }
}
extensionAwhereY == X {
staticvarx: X {
returny
}
}
structM: A {
staticvary: Int {
return0
}
}
Might be fallout from my associated type inference cleanups. We may be prematurely rejecting the `extension B where X == Y` as a candidate for default implementations.
Environment
Version 8.3 beta 3 (8W132p)
Additional Detail from JIRA
md5: cca0f12afad932a5539ca9e5735fe772
Issue Description:
The following snipped worked in Swift 3.0, but doesn't compile in Swift 3.1
Error:
Type 'M' does not conform to protocol 'A'. Protocol requires nested type 'X'; do you want to add it?
Type 'M' does not conform to protocol 'Equatable'
This lead to the following issue in my library: tomquist/Equals#6
The text was updated successfully, but these errors were encountered: