mirror of
https://github.com/apple/swift.git
synced 2026-02-27 18:26:24 +01:00
Extend support for proper errors on broken modularization to type members, previously only top-level declarations were reported as error. This change raises errors with relevant context if a type member is referenced from a swiftmodule file but at reading the member is not found or changed shape. It doesn't report moves between modules like we do for top-level declarations. This is less likely to happen at the member level as the check is already applied at the top-level for the same reference. We may still see such issues when using `SWIFT_NAME` to assign a top-level declaration to a type from a different module.