111. if let binds in headers; x is pat is a Bool expression (2026-11-21)
- Decision. One spelling per position. In
if/elif/whileheaders an optional or pattern is bound withif let p = x/while let p = x, chained with, cond.x is pat(withand cond) is for value position, where aBoolis wanted (eaters.set(c, on: tops.first_gt(c) is q and a[q] <= s),phase is Seeking). A header writtenif x is p:orwhile x is p:gets a lint with a machine-applicablecpl fixto theletform. - Reason. §48.6 made
isdesugar toif let, so both spellings reached headers and dreams started mixing them. The rule keeps one spelling per position without losing the expression form. - Reverse. Drop the lint and its codemod.