mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
This PR treats package access level as exportable, preventing internally imported types from accidentally being declared in package decl signatures. Added package-specific cases to ExportabilityReason and DisallowedOriginKind to track the validity of imported types at use sites with package access scope. Added tests to cover variety of use cases. Resolves rdar://117586046&125050064&124484388&124306642
138 KiB
138 KiB