mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
When deserialization a protocol conformance from a binary swiftmodule file the compiler can encounter inconsistencies caused by stale module files. Replace the hard crash with a proper error and print the list of requirements and conformances being compared to stderr for manual inspection. Recover silently when we can afford to, during indexing or in LLDB.