Skip to content

Conversation

@hnrklssn
Copy link
Member

This reverts commit ca8792c.

Revert "[ImportResolution] Gracefully handle importing broken clang module"

This reverts commit edb48df.

Revert "[ImportResolution] Don't deduplicate scoped imports"

This reverts commit da96079.

Revert "[ImportResolution] Deduplicate top-level clang modules from import list"

This reverts commit 0ea5677.

Reverting due to namelookup errors.

rdar://164588082

@hnrklssn
Copy link
Member Author

@swift-ci please smoke test

@slavapestov
Copy link
Contributor

When reverting a PR because it introduced a regression, please add a test case demonstrating the problem in a separate commit, so that we can be sure the regression is fixed when the PR is re-applied.

@hnrklssn hnrklssn force-pushed the revert-dedup-clang-module-imports branch from d051f18 to ed6d2de Compare November 20, 2025 00:43
@hnrklssn
Copy link
Member Author

When reverting a PR because it introduced a regression, please add a test case demonstrating the problem in a separate commit, so that we can be sure the regression is fixed when the PR is re-applied.

Thanks, I wasn't aware of this practice, but it makes a lot of sense. Added 0fce8a3. After reverting it compiles fine.

@hnrklssn
Copy link
Member Author

@swift-ci please smoke test

This test case compiled fine before
da96079 and the subsequent
swiftlang#84828, but now errors. The next
commit will revert those changes.
This reverts commit ca8792c.

Revert "[ImportResolution] Gracefully handle importing broken clang module"

This reverts commit edb48df.

Revert "[ImportResolution] Don't deduplicate scoped imports"

This reverts commit da96079.

Revert "[ImportResolution] Deduplicate top-level clang modules from import list"

This reverts commit 0ea5677.

Reverting due to namelookup errors.

rdar://164588082
@hnrklssn hnrklssn force-pushed the revert-dedup-clang-module-imports branch from ed6d2de to ba7b9b0 Compare November 20, 2025 07:10
@hnrklssn
Copy link
Member Author

added pragma once to test case

@hnrklssn
Copy link
Member Author

@swift-ci please smoke test

@hnrklssn hnrklssn merged commit 2211824 into swiftlang:main Nov 20, 2025
3 checks passed
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