mirror of
https://github.com/astral-sh/ruff
synced 2026-01-08 15:14:19 -05:00
## Summary
Fixes a failing debug assertion that triggers for the following code:
```py
match some_int:
case x:=2:
pass
```
closes #14305
## Test Plan
Added problematic code example to corpus.