Skip to content

[Clang importer] Make sure we mirror protocol decls for all names. #34804

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

Conversation

DougGregor
Copy link
Member

When mirroring declarations from protocols, make sure to mirror for
all potential imported names. Otherwise, we might miss out on one or
the other of an async import or a completion-handler import of the
same method.

Fixes rdar://71429577.

When mirroring declarations from protocols, make sure to mirror for
all potential imported names. Otherwise, we might miss out on one or
the other of an async import or a completion-handler import of the
same method.

Fixes rdar://71429577.
@DougGregor
Copy link
Member Author

@swift-ci please smoke test

@DougGregor
Copy link
Member Author

@swift-ci build toolchain macOS

@DougGregor
Copy link
Member Author

@swift-ci please test source compatibility

The previous change was too broad and caused several regressions.
@DougGregor
Copy link
Member Author

@swift-ci please smoke test

@swift-ci
Copy link
Contributor

macOS Toolchain
Download Toolchain
Git Sha - d249b5c

Install command
tar -zxf swift-PR-34804-777-osx.tar.gz --directory ~/

@DougGregor DougGregor merged commit 5286d9c into swiftlang:main Nov 18, 2020
@DougGregor DougGregor deleted the concurrency-import-mirrored-protocols branch November 18, 2020 15:19
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