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
Xcode 10.1
Apple Swift version 4.2.1 (swiftlang-1000.11.42 clang-1000.11.45.1)
Target: x86_64-apple-darwin18.2.0
md5: 5c67fb56b65cf69257cf339beba91f81
duplicates:
Issue Description:
protocol BaseInterface { associatedtype Mode: Equatable } protocol P {} class GenericStorage<Mode: Equatable> {} typealias SpecialStorage<Mode: Equatable> = GenericStorage<Mode> & P protocol StorageInterface: BaseInterface { associatedtype StorageA: GenericStorage<Mode> associatedtype StorageB: SpecialStorage<Mode> } enum ConcreteMode: Equatable {} class A: GenericStorage<ConcreteMode> {} class B: A, P {} // rejected struct ConcreteInterface: StorageInterface { typealias Mode = ConcreteMode typealias StorageA = A typealias StorageB = B }
Discussion thread: https://forums.swift.org/t/why-is-the-compiler-rejecting-this-conformance/19617
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Environment
Xcode 10.1
Apple Swift version 4.2.1 (swiftlang-1000.11.42 clang-1000.11.45.1)
Target: x86_64-apple-darwin18.2.0
Additional Detail from JIRA
md5: 5c67fb56b65cf69257cf339beba91f81
duplicates:
Issue Description:
Discussion thread:
https://forums.swift.org/t/why-is-the-compiler-rejecting-this-conformance/19617
The text was updated successfully, but these errors were encountered: