Skip to content

Conversation

Kyle-Ye
Copy link
Contributor

@Kyle-Ye Kyle-Ye commented Oct 25, 2023

Cherrypick of #733

* Fix duplicated diagnostic issue

If the range’s source is not matched with the resolver’s source, we should not emit a problem

* Add test case for duplicated diagnostic issue

* Update Sources/SwiftDocC/Semantics/MarkupReferenceResolver.swift

Co-authored-by: David Rönnqvist <[email protected]>

* Update Tests/SwiftDocCTests/Semantics/MarkupReferenceResolverTests.swift

Co-authored-by: David Rönnqvist <[email protected]>

* Update Tests/SwiftDocCTests/Semantics/MarkupReferenceResolverTests.swift

Co-authored-by: David Rönnqvist <[email protected]>

---------

Co-authored-by: David Rönnqvist <[email protected]>
@Kyle-Ye
Copy link
Contributor Author

Kyle-Ye commented Oct 25, 2023

@swift-ci please test

@Kyle-Ye Kyle-Ye merged commit 5c59fe0 into swiftlang:release/5.10 Oct 25, 2023
@Kyle-Ye Kyle-Ye deleted the bugfix/duplicate_diag-5_10 branch October 25, 2023 08:26
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