Skip to content
New issue

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

[Typed throws] Add upcoming feature FullTypedThrows #69225

Merged
merged 1 commit into from
Oct 17, 2023

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
3 checks passed
@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