Open swift-ci opened 4 years ago
You seem to have created a TensorFlow bug report, rather than a Swift bug report. Anyway, here's a simplified reproducer:
extension Result: Decodable where Success: Decodable, Failure: Decodable {
public init(from decoder: Decoder) throws {
fatalError()
}
}
struct Failure: Error, Decodable {}
class Base<T: Decodable> {}
class Derived<T: Decodable>: Base<Result<T, Failure>> {}
@swift-ci create
Environment
Xcode 11.6Additional Detail from JIRA
| | | |------------------|-----------------| |Votes | 0 | |Component/s | Compiler | |Labels | Bug, CompilerCrash | |Assignee | None | |Priority | Medium | md5: f1f7a384ca8e96740fe4ebe78da284ebIssue Description:
error: