Skip to content

Conversation

@Xazax-hun
Copy link
Contributor

Explanation: We did not handle this declaration kind. This PR makes sure we mangle it the same way we do for the target declaration.
Issue: rdar://152841420
Risk: Low, the fix is small, localized, and straightforward.
Testing: Regression test added.
Original PR: #82144
Reviewer: @egorzhdan @hnrklssn @j-hui

Explanation: We did not handle this declaration kind. This PR makes sure we
mangle it the same way we do for the target declaration.
Issue: rdar://152841420
Risk: Low, the fix is small, localized, and straightforward.
Testing: Regression test added.
Original PR: #82144
Reviewer: @egorzhdan @hnrklssn @j-hui
@Xazax-hun Xazax-hun requested a review from a team as a code owner June 11, 2025 10:41
@Xazax-hun Xazax-hun added c++ interop Feature: Interoperability with C++ 🍒 release cherry pick Flag: Release branch cherry picks swift 6.2 labels Jun 11, 2025
@Xazax-hun
Copy link
Contributor Author

@swift-ci please test

Copy link
Member

@DougGregor DougGregor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, this looks like the right solution. Using declarations shouldn't affect the mangling.

@Xazax-hun Xazax-hun merged commit 70f1a0f into release/6.2 Jun 23, 2025
5 checks passed
@Xazax-hun Xazax-hun deleted the gaborh/using-shadow-decl-mangling-on-6.2 branch June 23, 2025 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c++ interop Feature: Interoperability with C++ 🍒 release cherry pick Flag: Release branch cherry picks swift 6.2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants