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

Enable SE-0413 "Typed Throws" by default #70677

Merged
merged 7 commits into from
Jan 5, 2024

Conversation

DougGregor
Copy link
Member

This feature has been accepted, so enable it by default.

@DougGregor
Copy link
Member Author

swiftlang/swift-syntax#2412

@swift-ci please smoke test

…artial solutions

Failure to deduplicate potential throw sites could cause these data
structures to grow expotentially. De-duplicate in the obvious way, noting
that we still need an effective data structure here.
@DougGregor
Copy link
Member Author

swiftlang/swift-syntax#2412

@swift-ci please smoke test

Enabling typed throws has introduced some spurious warnings about error
values of `Never` type on top of the custom "unreachable" diagnostics
for catch clauses, so suppress the new warnings---they aren't helpful.
…erging partial solutions"

This reverts commit 8e50528. We need more
work on this part of the code.
@DougGregor DougGregor force-pushed the se-0413-typed-throws branch from b28b813 to cde18d1 Compare January 4, 2024 17:52
@DougGregor DougGregor requested review from ktoso and kavon as code owners January 4, 2024 17:52
@DougGregor
Copy link
Member Author

swiftlang/swift-syntax#2412

@swift-ci please smoke test

@DougGregor
Copy link
Member Author

swiftlang/swift-syntax#2412

@swift-ci please smoke test source compatibility

@DougGregor
Copy link
Member Author

swiftlang/swift-syntax#2412

@swift-ci please test source compatibility

@DougGregor DougGregor merged commit baaa8f3 into swiftlang:main Jan 5, 2024
5 checks passed
@DougGregor DougGregor deleted the se-0413-typed-throws branch January 5, 2024 00:11
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