Avatar
Most of the foundation for this was laid in earlier patches. This PR should not be merged because it arguably requires Evolution approval. PRs this depends on that aren't in the 5.0 branch: #20...
2:19 AM
let errorValue: Error = MyError.reallyImportant("goodbye") func castValueToError<T>(error: T) -> Error? { return error as? Error } // CHECK-NEXT: reallyImportant("goodbye") print(castValueToError(error: errorValue) ?? value)
2:20 AM
自己confromただしErrorだけ、という謎パッチ
😩 1
🤔 1