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

False positive warning when curating symbol with special character #642

Conversation

d-ronnqvist
Copy link
Contributor

Bug/issue #, if applicable: #640 (rdar://111227479)

Summary

This fixes a false positive warning when a symbol with characters that aren't allowed in a resolved reference URL is curated. The warning happened because 2nd pass curation visited the link again before it was added to the referenceIndex.

Dependencies

None

Testing

Build documentation for the MeshGenerator project, as described in this issue #640

Checklist

Make sure you check off the following items. If they cannot be completed, provide a reason.

  • Added tests
  • Ran the ./bin/test script and it succeeded
  • Updated documentation if necessary

@d-ronnqvist
Copy link
Contributor Author

@swift-ci please test

Copy link
Contributor

@QuietMisdreavus QuietMisdreavus 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, thanks!

@d-ronnqvist d-ronnqvist merged commit f71b0f0 into swiftlang:main Jun 24, 2023
@d-ronnqvist d-ronnqvist deleted the false-positive-operator-curation-warnings branch June 24, 2023 00:31
d-ronnqvist added a commit to d-ronnqvist/swift-docc that referenced this pull request Jun 24, 2023
…wiftlang#642)

* Fix false-positive warning for curated symbols with special characters

rdar://111227479

* Remove redundant symbol index modification
d-ronnqvist added a commit that referenced this pull request Jun 26, 2023
) (#644)

* Fix false-positive warning for curated symbols with special characters

rdar://111227479

* Remove redundant symbol index modification
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants