Skip to content

Conversation

@DougGregor
Copy link
Member

Introduce the upcoming feature FullTypedThrows. When enabled, infer the error type of a throw statement based on its original type, instead of always being any Error. This is technically a source-breaking change, hence the upcoming feature flag.

Introduce the upcoming feature `FullTypedThrows`. When enabled, infer
the error type of a `throw` statement based on its original type,
instead of always being `any Error`. This is technically a
source-breaking change, hence the upcoming feature flag.
@DougGregor
Copy link
Member Author

@swift-ci please smoke test

@DougGregor DougGregor merged commit 95d7318 into swiftlang:main Oct 17, 2023
@DougGregor DougGregor deleted the full-typed-throws branch October 17, 2023 13:33
@DougGregor DougGregor mentioned this pull request Oct 17, 2023
21 tasks
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