Skip to content

Conversation

@mayaepps
Copy link
Contributor

@mayaepps mayaepps commented Dec 4, 2025

Explanation: Since RenderIndex.Node’s type property is optional, this updates the RenderIndex.Node's public initializer to accept an optional for that property. This is helpful for callers of the public API.
Scope: Non-API-breaking change to a type in a RenderIndex.Node initializer.
Issue: rdar://165803754.
Risk: Low. Does not change the behavior of DocC.
Testing: All existing unit tests pass.
Reviewer: @d-ronnqvist, @patshaughnessy
Original PR: #1360

Since RenderIndex.Node’s type property is optional, the public initializer should accept an optional.

Co-authored-by: Pat Shaughnessy <pat_shaughnessy@apple.com>
@mayaepps
Copy link
Contributor Author

mayaepps commented Dec 4, 2025

@swift-ci please test

@mayaepps mayaepps requested a review from franklinsch December 4, 2025 02:00
@mayaepps
Copy link
Contributor Author

mayaepps commented Dec 4, 2025

@swift-ci please test

@mayaepps mayaepps merged commit 241452f into swiftlang:release/6.3 Dec 4, 2025
2 checks passed
@mayaepps mayaepps deleted the RenderIndex.Node-accepts-optional-6.3 branch December 4, 2025 18:36
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