mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Using an access-level on imports limit how imported types can be used in API. This change extends TypeAccessScopeChecker to return both the access scope of the target type and any import that limits where it can be used. Diagnostics should use this information to raise errors and point to related imports.
135 KiB
135 KiB