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 bugs with symbol links to /(_:_:) operators (#717) #772

Merged

Conversation

d-ronnqvist
Copy link
Contributor

@d-ronnqvist d-ronnqvist commented Dec 14, 2023

Cherrypick of #717

Explanation: Fixes two bugs where operators with a "/" in the name couldn't be linked to and where their data files in the output archive could collide with other pages's data files.
Scope: Symbols with "/" in the name, for example /(_:_:) and /=(_:_:).
Issue: rdar://112555102
Risk: Low.
Testing: Added test, ran the existing tests, and manually tested in different scenarios.
Reviewer: @patshaughnessy

* Support escaping forward slash in symbol links

rdar://112555102

* Support operators with "/" without escaping

rdar://112555102

* Remove need to pass original link string to create error info

* Replace "/" in symbol names with "_" in resolved topic references
@d-ronnqvist
Copy link
Contributor Author

@swift-ci please test

@d-ronnqvist d-ronnqvist merged commit 062fbf5 into apple:release/5.10 Dec 14, 2023
2 checks passed
@d-ronnqvist d-ronnqvist deleted the forward-slash-in-symbol-link-5.10 branch December 14, 2023 09:54
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.

None yet

2 participants