Skip to content

Conversation

@DougGregor
Copy link
Member

Allow one to throw a type that is convertible to any Error even if it doesn't conform to the Error protocol, e.g., an existential type like any Codable & Error.

…rror"

Allow one to throw a type that is convertible to `any Error` even if it
doesn't conform to the `Error` protocol, e.g., an existential type like
`any Codable & Error`.
@DougGregor
Copy link
Member Author

@swift-ci please smoke test

@DougGregor
Copy link
Member Author

swiftlang/llvm-project#7671

@swift-ci please test Windows

@DougGregor
Copy link
Member Author

TSan data race.... can't possibly be related here.

@DougGregor
Copy link
Member Author

@swift-ci please smoke test macOS

@DougGregor DougGregor merged commit 91c75a2 into swiftlang:main Oct 25, 2023
@DougGregor DougGregor deleted the typed-throws-convert-to-any-error branch October 25, 2023 07:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant