ruff
[ty] Propagate narrowing through statically known branches
#27752
Merged

[ty] Propagate narrowing through statically known branches #27752

charliermarsh
astral-sh-bot astral-sh-bot added ty
astral-sh-bot
astral-sh-bot
astral-sh-bot
codspeed
charliermarsh charliermarsh force pushed from 2aac9117 to 6dfdbf03 102 days ago
charliermarsh charliermarsh changed the base branch from main to charlie/context-manager-exception-suppression 102 days ago
astral-sh-bot
charliermarsh charliermarsh force pushed from 83d42a22 to d38f18e2 102 days ago
charliermarsh charliermarsh marked this pull request as ready for review 102 days ago
charliermarsh charliermarsh requested a review 102 days ago
charliermarsh charliermarsh requested a review 102 days ago
astral-sh-bot astral-sh-bot requested a review from ibraheemdev ibraheemdev 102 days ago
Base automatically changed from charlie/context-manager-exception-suppression to main 101 days ago
charliermarsh charliermarsh force pushed from 670cfd8d to 60a4c574 101 days ago
charliermarsh
charliermarsh charliermarsh force pushed from 60a4c574 to e281bc86 98 days ago
ibraheemdev
ibraheemdev approved these changes on 2026-08-18
ibraheemdev
charliermarsh charliermarsh force pushed from e281bc86 to 5c1cfeb9 96 days ago
mtshiba [ty] Propagate narrowing through statically known branches
2b8022ca
mtshiba Update narrow.rs
979f14b4
mtshiba Track predicate narrowing targets
6d51b044
charliermarsh [ty] Preserve module-level Never call narrowing
e0db636f
charliermarsh [ty] Avoid allocating for simple reachability gates
057924c5
charliermarsh [ty] Preserve baseline terminal-call analysis outside functions
c16475f2
charliermarsh [ty] Support statically known branches in module and class scopes
d4eef757
charliermarsh [ty] Avoid redundant narrowing-target work
125094d4
charliermarsh [ty] Document non-function loop narrowing limitations
01db5af6
charliermarsh [ty] Resolve lazy expression truthiness without inference
cc92329b
charliermarsh [ty] Preserve narrowing in module and class loops (#27916)
2fec8ab4
charliermarsh charliermarsh force pushed from 9b4d837d to 2fec8ab4 96 days ago
charliermarsh [ty] Preserve precision in call-heavy module scopes
56648481
charliermarsh [ty] Preserve the loop reachability performance cutoff
729bb26d
charliermarsh charliermarsh merged 7e315717 into main 96 days ago
charliermarsh charliermarsh deleted the charlie/statically-known-branch-narrowing branch 96 days ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone