mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Control enforcement of member import visibility requirements via a new option, instead of piggy-backing on the existing IgnoreAccessControl option. Adopt the option when doing fallback lookups for unviable members so that the compiler can diagnose the reason that a member is inaccessible more reliably. Previously, with MemberImportVisibility enabled decls with the package access level could be mis-diagnosed as inaccessible due to their access level when really they were inaccessible due to a missing import. Resolves rdar://131501862.
841 B
841 B