mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Extend the constraint system’s diagnostics with specific handling for matching an enum element pattern that has a subpattern (i.e., to capture associated values) against an enum case that does not have any associated value. This brings diagnostics for the new code path on par with the existing diagnostics of coercePatternToType.
368 KiB
368 KiB