swift
90df2f0a - Sema: Avoid diagnosing missing imports for desugared typealiases in non-resilient modules.

Commit
2 years ago
Sema: Avoid diagnosing missing imports for desugared typealiases in non-resilient modules. The following diagnostic is meant to prevent broken swiftinterfaces from being emitted: ``` 'SomeAlias' aliases 'SomeDesugaredType' and cannot be used here because 'DesugaredTypeModule' was not imported by this file; this is an error in Swift 6 ``` If the module exporting the reference to the typealias is non-resilient, though, then the module is not expected to have a buildable `swiftinterface` and therefore the diagnostic is superfluous. Resolves rdar://104749045
Author
Committer
Parents
Loading