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
md5: ddd1211125b9d74d76168f30e67db9b1
Issue Description:
The following test case fails with an llvm_unreachable these types are always canonical being executed.
these types are always canonical
// RUN: %sourcekitd-test -req=cursor -pos=5:36 %s -- %s func fetch() { sryMap{ return try processResponse() } .napError{ parseError(reason: $0.abc()) } } func sryMap<String>(_ transform: () throws -> String) -> SryMap<String> { fatalError() } func processResponse() throws -> String { return "" } func parseError(reason: String) {} protocol MyError {} extension MyError { func abc() -> String { return "" } } protocol MyProto { associatedtype Failure } extension MyProto { func napError(_ transform: (Self.Failure) -> Void) {} } struct SryMap<Output> : MyProto { typealias Failure = MyError }
Bisecting determined that this was caused by #40666 (specifically commit ee331a8).
The text was updated successfully, but these errors were encountered:
Here's the fix: #40925
Sorry, something went wrong.
No branches or pull requests
Additional Detail from JIRA
md5: ddd1211125b9d74d76168f30e67db9b1
Issue Description:
The following test case fails with an llvm_unreachable
these types are always canonical
being executed.Bisecting determined that this was caused by #40666 (specifically commit ee331a8).
The text was updated successfully, but these errors were encountered: