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

[5.10] Fix duplicated diagnostic issue #746

Merged
merged 1 commit into from
Oct 25, 2023

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 <david.ronnqvist@gmail.com>

* Update Tests/SwiftDocCTests/Semantics/MarkupReferenceResolverTests.swift

Co-authored-by: David Rönnqvist <david.ronnqvist@gmail.com>

* Update Tests/SwiftDocCTests/Semantics/MarkupReferenceResolverTests.swift

Co-authored-by: David Rönnqvist <david.ronnqvist@gmail.com>

---------

Co-authored-by: David Rönnqvist <david.ronnqvist@gmail.com>
@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
2 checks passed
@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