swift
7f32a9e8 - [IDE] Inject Sendable conformance on public types only

Commit
2 years ago
[IDE] Inject Sendable conformance on public types only When getTopLevelDeclsForDisplay is called on an imported module, it may lists non-public decls. If we they try to inject the conformance on Sendable on internal types, the compiler may crash on failing to deserialize internal details. As a fix, let's only inject the conformance on public or package types. rdar://95430471
Author
Committer
Parents
Loading