Commit Graph

2 Commits

Author SHA1 Message Date
Allan Shortlidge
4f61908b4c AST: Fix a typo in missingImportsForDefiningModule(). 2025-04-24 22:56:43 -07:00
Allan Shortlidge
43fd131762 Sema: Improve MemberImportVisibility diagnostics for cross import overlays.
When `MemberImportVisibility` is enabled and a declaration from a cross import
overlay is diagnosed because it has not been imported, suggest imports of the
declaring and bystanding modules instead of the cross import overlay module
(which is an implementation detail).

Resolves rdar://149307959.
2025-04-22 10:09:24 -07:00