Skip to content

Conversation

nkcsgexi
Copy link
Contributor

@nkcsgexi nkcsgexi commented Jul 1, 2020

When a nominal type and its extensions coexist in the same module, mangling may
use the nominal type as the context for extension members. We should preserve this
mechanism for types marked as @_originallyDefinedIn to maintain ABI stability.

rdar://64538537

…@_originallyDefinedIn

When a nominal type and its extensions coexist in the same module, mangling may
use the nominal type as the context for extension members. We should preserve this
mechanism for types marked as @_originallyDefinedIn to maintain ABI stability.

rdar://64538537
@nkcsgexi nkcsgexi requested a review from a team as a code owner July 1, 2020 20:04
@nkcsgexi
Copy link
Contributor Author

nkcsgexi commented Jul 1, 2020

@swift-ci please test

@nkcsgexi nkcsgexi added the r5.3 label Jul 1, 2020
Copy link
Contributor

@slavapestov slavapestov left a comment

Choose a reason for hiding this comment

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

Can you add a SILGen test for the mangling as well?

@nkcsgexi
Copy link
Contributor Author

nkcsgexi commented Jul 2, 2020

@swift-ci please test

@swift-ci
Copy link
Contributor

swift-ci commented Jul 2, 2020

Build failed
Swift Test Linux Platform
Git Sha - 86195f2

@swift-ci
Copy link
Contributor

swift-ci commented Jul 2, 2020

Build failed
Swift Test OS X Platform
Git Sha - 86195f2

@nkcsgexi
Copy link
Contributor Author

nkcsgexi commented Jul 2, 2020

@slavapestov Thank you for taking a look! The PR for addressing the code review comments was cherry-picked.

@tkremenek tkremenek merged commit 71595d1 into swiftlang:release/5.3 Jul 2, 2020
@AnthonyLatsis AnthonyLatsis added swift 5.3 🍒 release cherry pick Flag: Release branch cherry picks labels Jan 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍒 release cherry pick Flag: Release branch cherry picks swift 5.3
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants