Skip to content

Conversation

@slavapestov
Copy link
Contributor

@slavapestov slavapestov commented Apr 23, 2025

6.2 cherry-pick of #81045

  • Description: Implement de/remangler support for the "HO" operator.

  • Scope of the issue: If a retroactive conformance is conditional and the subject type of a conditional requirement is an opaque archetype, the mangler would emit a mangling using the "HO" operator which the demangler did not understand.

  • Origination: Since Swift 5.1 probably.

  • Risk: Low, this just adds a case that the demangler rejected before.

  • Radar: Fixes rdar://149801864.

  • Reviewed by: @xedin

…paque

If a retroactive conformance is conditional and the subject type of a
conditional requirement is an opaque archetype, the mangler would
emit a mangling using the "HO" operator which the demangler did not
understand.

Implement de/remangler support for the "HO" operator.

Fixes rdar://149801864.
@slavapestov slavapestov requested a review from a team as a code owner April 23, 2025 20:42
@slavapestov
Copy link
Contributor Author

@swift-ci Please test

@slavapestov
Copy link
Contributor Author

@swift-ci Please test macOS

@slavapestov
Copy link
Contributor Author

macOS PR testing is failing due to an unrelated LLVM issue.

@slavapestov
Copy link
Contributor Author

@swift-ci Please test macOS

2 similar comments
@slavapestov
Copy link
Contributor Author

@swift-ci Please test macOS

@slavapestov
Copy link
Contributor Author

@swift-ci Please test macOS

@slavapestov slavapestov merged commit 140abae into swiftlang:release/6.2 Apr 28, 2025
5 checks passed
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