Skip to content

[6.1] Note in documentation when #expect(throws:) started returning a value. #990

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Conversation

grynspan
Copy link
Contributor

@grynspan grynspan commented Mar 3, 2025

DocC doesn't let us annotate our return type's availability separately from our
macros' availability, and we can't include both the old symbols and new ones
because it is ambiguous at compile time, so this PR explains in prose when the
return types were added.
@grynspan grynspan added the documentation 📚 Improvements or additions to documentation label Mar 3, 2025
@grynspan grynspan added this to the Swift 6.1 milestone Mar 3, 2025
@grynspan grynspan self-assigned this Mar 3, 2025
@grynspan grynspan changed the title Note in documentation when #expect(throws:) started returning a value. [6.1] Note in documentation when #expect(throws:) started returning a value. Mar 3, 2025
@grynspan
Copy link
Contributor Author

grynspan commented Mar 3, 2025

@swift-ci test

@grynspan grynspan merged commit c13feaf into release/6.1 Mar 3, 2025
3 checks passed
@grynspan grynspan deleted the jgrynspan/note-when-return-value-added-to-expect-throws-6.1 branch March 3, 2025 19:55
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
documentation 📚 Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants