Skip to content

re-exported synthesized extensions need to go under the base module #59129

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

Merged
merged 1 commit into from
Jun 13, 2022

Conversation

QuietMisdreavus
Copy link
Contributor

Resolves rdar://93928003

When a module adds a type as an extension of a foreign type, then a different module re-exports that module, the synthesized symbols currently get sorted incorrectly. The check that determines what module's graph they go in incorrectly uses the module of the decl, instead of the root module that the symbol is extending. This PR changes that check, so that modules in the aforementioned situation don't incorrectly receive symbols that can't be matched up with their parent.

@QuietMisdreavus
Copy link
Contributor Author

@swift-ci Please test

@QuietMisdreavus
Copy link
Contributor Author

@swift-ci Please test

@QuietMisdreavus
Copy link
Contributor Author

@swift-ci Please test and merge

@swift-ci swift-ci merged commit 9eded15 into main Jun 13, 2022
@swift-ci swift-ci deleted the QuietMisdreavus/exported-ext branch June 13, 2022 23:33
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.

3 participants