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