Files
swift-mirror/test/stmt
Hamish Knight d6d8d08608 [CS] Better diagnose conformance failures for EnumElementPatterns
Previously we could end up with a
ContextualMismatch fix and a MissingConformance fix
for different elements of the `matchTypes` disjunction,
leading to an ambiguity. Instead, avoid recording
the ContextualMismatch if we're matching an
existential, and tweak the MissingConformance
failure to have a custom diagnostic for
EnumElementPattern matching.
2024-07-15 12:47:50 +01:00
..
2023-09-01 14:32:14 +01:00
2023-12-03 21:51:22 -08:00
2023-09-01 14:32:14 +01:00