mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-04 23:50:31 +00:00
![]() ## Summary Reported in: https://github.com/astral-sh/ruff/pull/19795#issuecomment-3161981945 If a root expression is reassigned, narrowing on the member should be invalidated, but there was an oversight in the current implementation. This PR fixes that, and also removes some unnecessary handling. ## Test Plan New tests cases in `narrow/conditionals/nested.md`. |
||
---|---|---|
.. | ||
resources | ||
src | ||
tests | ||
build.rs | ||
Cargo.toml | ||
mdtest.py | ||
mdtest.py.lock |