Skip to content

[6.2] Demangle: Implement missing Node::Kind::DependentProtocolConformanceOpaque #81046

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

Open
wants to merge 1 commit into
base: release/6.2
Choose a base branch
from

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

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.

1 participant