mirror of
https://github.com/apple/swift.git
synced 2026-06-20 15:42:51 +02:00
0ac40aada4
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.