Skip to content

Add Throws to doc comment template #967

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

Merged
merged 1 commit into from
Jul 15, 2024

Conversation

plemarquand
Copy link
Contributor

Makes the behaviour consistent with Xcode, where if a function throws there is a templated field to describe the error.

Adds tests for the existing behaviour, as well as this new behaviour.

Makes the behaviour consistent with Xcode, where if a function throws
there is a templated field to describe the error.

Adds tests for the existing behaviour, as well as this new behaviour.
Copy link
Contributor

@adam-fowler adam-fowler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. I guess this will become more important when typed throws come in.

@plemarquand plemarquand merged commit e52a9ce into swiftlang:main Jul 15, 2024
8 checks passed
@plemarquand plemarquand deleted the doc-comments branch July 15, 2024 12:27
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.

2 participants