Skip to content

Conversation

egorzhdan
Copy link
Contributor

This is a speculative fix, I don't know how to reproduce this yet.

rdar://158896622 / resolves #83861

@egorzhdan
Copy link
Contributor Author

@swift-ci please smoke test

mhegazy added a commit to thebrowsercompany/swift-build that referenced this pull request Aug 22, 2025
@mhegazy
Copy link
Contributor

mhegazy commented Aug 23, 2025

@egorzhdan i tested with this change, and i am not getting the assert/crash any longer. thanks!

@egorzhdan
Copy link
Contributor Author

@swift-ci please test Windows

@egorzhdan egorzhdan merged commit 5dc2817 into swiftlang:main Sep 9, 2025
3 checks passed
@egorzhdan egorzhdan deleted the egorzhdan/redecl-context-assertion branch September 9, 2025 22:11
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.

Invalid "clangDC->getRedeclContext()->isTranslationUnit() && non-top-level Clang types not supported yet"

2 participants