Files
Slava Pestov 4517c70b2d Sema: Downgrade non-optional conditional binding to a warning
Since this is implemented as an opportunistic MiscDiagnostics
check, it cannot be 100% reliable. We recently tightened it up,
and we might tighten it up again. To avoid further source
breaks, just turn this into a warning, since ultimately this
just means the `else` branch is dead.

As discussed in https://forums.swift.org/t/minor-source-break-with-if-let-and-guard-let-bindings/89955.
2026-10-20 17:57:31 -04:00
..