[ty] Infer typevar specializations for implicit generic protocols #21902
dcreager
force pushed
from
6b695812
to
0bde4151
343 days ago
dcreager
force pushed
from
0bde4151
to
fa1a940f
340 days ago
dcreager
changed the base branch from
dcreager/callable-return
to
main
340 days ago
dcreager
force pushed
from
4487e217
to
7145810d
340 days ago
dcreager
force pushed
from
7145810d
to
6fb49ecc
340 days ago
use csa for instance checks
517566a8
these are legit
4ff828d9
add TODO for Never/Unknown
c8664f68
make these tests consistent
2fa8636a
error message
b6ca2d90
add todos
8888c3ce
fix test expectations and TODOs
6df88e8f
check protocols nominally, too
be4e7e77
only error when there are typevars
83378f01
no duplicate errors anymore
9ca12076
don't overwrite source_order
acd1e6c4
dcreager
force pushed
from
6fb49ecc
to
b0280a2a
320 days ago
constrain with bounds/constraints as post-processing step
47840fdd
prefer informative upper bound again
61aafffa
clippy
2c95befa
materialize the bounds too
e39f4654
paramspec args/kwargs don't have a bound
138bf798
dcreager
force pushed
from
21736f1c
to
138bf798
319 days ago
prune types when intersecting into upper bound
e5533da0
fix merge conflicts
f1188c74
punt on very large union upper bounds for now
f735222e
dcreager
force pushed
from
f5bcee2b
to
f735222e
318 days ago
don't hard-code the threshold
1c247af1
estimate size of distributed upper bound
d5089ccd
merge main
7bbe3d73
clippy
180b3898
only use constraint sets for protocols
bb077756
dcreager
force pushed
from
9c4668c5
to
d5db3555
303 days ago
dcreager
force pushed
from
d5db3555
to
436cc99c
303 days ago
update expected sympy diagnostic count
adef0f9e
dcreager
force pushed
from
436cc99c
to
057c8629
303 days ago
dcreager
force pushed
from
057c8629
to
95c6d950
303 days ago
dcreager
force pushed
from
95c6d950
to
1aceccbe
303 days ago
dcreager
force pushed
from
1aceccbe
to
a0edd364
299 days ago
merge distributed AND/OR from main
e72b1c3a
dcreager
force pushed
from
a0edd364
to
f55cbf45
298 days ago
dcreager
force pushed
from
f55cbf45
to
e72b1c3a
291 days ago
merge main
90cc1eef
fix sympy diagnostic count
cb43a146
ignore new diagnostics in conformance script
6b9fd349
merge in solution caching
a422255a
merge main
13638f62
fix failing tests
93d0c540
deeper short-circuit check in distributed AND/OR
f33c9408
update tanjun diagnostic count
af151a85
and colour-science too
45184041
don't walk too deeply in cycle check
c7d0c8f2
sympy too
8b1b2f0c
suppress duplicate diagnostics from constraint-set solver
bcfc7324
merge main
7ccd2df5
clean up callable inference error handling
06f1a236
dcreager
force pushed
from
7dc401ee
to
06f1a236
284 days ago
don't capture enclosing typevars
4668e5de
dcreager
marked this pull request as ready for review 284 days ago
sharkdp
approved these changes
on 2026-02-11
Apply suggestions from code review
e078ee20
0 union size for never
01b3c33a
remove spurious lock file
1fe411bd
add comment + issue link about false positives
c72c93ef
perform nominal check first moar better
b66cf8b4
dcreager
force pushed
from
e9ab2d2b
to
b66cf8b4
283 days ago
dcreager
merged
dc65d126
into main 283 days ago
dcreager
deleted the dcreager/genprop branch 283 days ago
Assignees
No one assigned
Labels
ty
ecosystem-analyzer
Login to write a write a comment.
Login via GitHub