mirror of
https://github.com/apple/swift.git
synced 2026-06-27 12:25:55 +02:00
b0070f5739
Instead of requiring sub-classes of `ContextualMismatch` to implement `diagnoseForAmbiguity` let's implement it directly on `ContextualMismatch` itself and check whether all of the aggregated fixes have same types on both sides and if so, diagnose as-if it was a single fix.