[ty] prefer declared type if mutually assignable by carljm · Pull Request #24802 · astral-sh/ruff (original) (raw)
added the ty
Multi-file analysis & type inference
label
- main: (44 commits)
Update cargo-bins/cargo-binstall action to v1.18.1 (#24855)
Update dependency ruff to v0.15.12 (#24857)
Update taiki-e/install-action action to v2.75.18 (#24864)
[ty] Model bool-op branch snapshots (#24458)
[ty] Support
Unpack[TypedDict]in**kwargssignatures (#24653) Update prek dependencies (#24858) Update Rust crate bitflags to v2.11.1 (#24859) Update Rust crate clap to v4.6.1 (#24860) Update Rust crate mimalloc to v0.1.49 (#24862) Update Rust crate uuid to v1.23.1 (#24863) Update Rust crate rayon to v1.12.0 (#24866) Update Rust crate libc to v0.2.185 (#24861) [ty] Reserve union element storage (#24849) [ty] bump conformance suite commit (#24848) [ty] Pass unmapped type variables toSpecializationBuilder::build_with(#24809) [ty] Avoid bookkeeping for unannotated functions (#24842) [ty] Optimize signature checking based on number of arguments (#24674) [ty] Avoid eagerly inferring legacy generic context (#24841) [ty] Skip decorator inference for undecorated functions (#24839) [ty] solve unions against generic protocols (#24837) ...
carljm marked this pull request as ready for review
carljm changed the title
prefer declared type if mutually assignable [ty] prefer declared type if mutually assignable
carljm deleted the cjm/prefer-declared-if-mutually-assignable branch
thejchap pushed a commit to thejchap/ruff that referenced this pull request
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
[ Show hidden characters]({{ revealButtonHref }})