mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Limit reporting as an error imports of a non-library-evolution module from a library-evolution enabled module to sources that are part of the SDK. The error also requires having enabled `InternalImportsByDefault`. This should help prevent SDK breaking regressions while loosening the restriction elsewhere. Framework owners can enable `-library-level api` or `spi` to get this check as an error, along with more sanity checks. Other cases remain as a warning. We should look to silence it in some cases or offer a flag to do so. rdar://160414667
62 KiB
62 KiB