mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
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.
10 lines
253 B
Plaintext
10 lines
253 B
Plaintext
// swift-interface-format-version: 1.0
|
|
// swift-module-flags: -swift-version 5 -enable-library-evolution -module-name DeclaringLibrary -enable-private-imports
|
|
|
|
import Swift
|
|
|
|
public struct DeclaringLibraryTy {
|
|
public init()
|
|
}
|
|
public struct ShadowTy {}
|