[ty] Enum literal types #19328
sharkdp
force pushed
from
2fa37d48
to
cfae2bc9
181 days ago
sharkdp
marked this pull request as ready for review 181 days ago
[ty] Enum literal types
5fdf1f5f
Allow Final, fix callability
de9ce0d3
Access members on type[…]
744362dc
Enum aliases
36647f01
Add benchmark, cache enum_metadata
da7b4334
Type properties
12a6e75b
Add completion test
8dd3705b
Narrowing tests
ea203235
More tests, documentation
fb2feb5c
Type visitor changes
69f4042a
Add cycle handling
841ce95a
Clippy
31d72658
Fix release-mode failure
2c3e3e0f
Store a ClassLiteral in EnumLiteralType
e86f5a16
Box<[Name]>
a87b20e0
GetSize
c3f30417
Match tests
12c31c2f
TODO comment
53ebe7dd
Model enum subclasses with members as final
ad5848fe
Truthiness with custom __bool__
bf10bab6
single-valuedness
76a9bac8
sharkdp
force pushed
from
fa5a5ee4
to
76a9bac8
180 days ago
Minor review comments
0577310f
Do not attempt to infer precise truthiness
6ae15e8f
Try caching the result of is_final
c03445d6
Revert "Try caching the result of is_final"
810f1734
Split into multiple queries
31b15839
Revert "Split into multiple queries"
c9b63b8a
sharkdp
force pushed
from
5a4afbad
to
c9b63b8a
180 days ago
sharkdp
force pushed
from
ef50d99b
to
9ee7fe9f
180 days ago
Add KnownClass fast-path
d0060c29
sharkdp
force pushed
from
9ee7fe9f
to
d0060c29
180 days ago
sharkdp
merged
a1edb69e
into main 180 days ago
sharkdp
deleted the david/enum-literals branch 180 days ago
Assignees
No one assigned
Labels
ty
ecosystem-analyzer
Login to write a write a comment.
Login via GitHub