mirror of
https://github.com/astral-sh/ruff
synced 2026-01-22 14:00:51 -05:00
## Summary Just a small simplification to remove some unnecessary complexity here. Rather than using separate branches for subscript expressions involving boolean literals, we can simply convert them to integer literals and reuse the logic in the `IntLiteral` branches. ## Test Plan `cargo test -p red_knot_python_semantic`