mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
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.
This commit is contained in:
@@ -3,5 +3,7 @@
|
||||
|
||||
import Swift
|
||||
|
||||
public struct DeclaringLibraryTy {}
|
||||
public struct DeclaringLibraryTy {
|
||||
public init()
|
||||
}
|
||||
public struct ShadowTy {}
|
||||
|
||||
Reference in New Issue
Block a user