ruff/crates/ty_python_semantic/src
Douglas Creager bdccb37b4a
Some checks are pending
CI / Determine changes (push) Waiting to run
CI / cargo fmt (push) Waiting to run
CI / cargo clippy (push) Blocked by required conditions
CI / cargo test (linux) (push) Blocked by required conditions
CI / cargo test (linux, release) (push) Blocked by required conditions
CI / cargo test (windows) (push) Blocked by required conditions
CI / cargo test (wasm) (push) Blocked by required conditions
CI / cargo build (release) (push) Waiting to run
CI / cargo build (msrv) (push) Blocked by required conditions
CI / cargo fuzz build (push) Blocked by required conditions
CI / fuzz parser (push) Blocked by required conditions
CI / test scripts (push) Blocked by required conditions
CI / ecosystem (push) Blocked by required conditions
CI / Fuzz for new ty panics (push) Blocked by required conditions
CI / cargo shear (push) Blocked by required conditions
CI / python package (push) Waiting to run
CI / pre-commit (push) Waiting to run
CI / mkdocs (push) Waiting to run
CI / formatter instabilities and black similarity (push) Blocked by required conditions
CI / test ruff-lsp (push) Blocked by required conditions
CI / check playground (push) Blocked by required conditions
CI / benchmarks (push) Blocked by required conditions
[ty Playground] Release / publish (push) Waiting to run
[ty] Apply function specialization to all overloads (#18020)
Function literals have an optional specialization, which is applied to
the parameter/return type annotations lazily when the function's
signature is requested. We were previously only applying this
specialization to the final overload of an overloaded function.

This manifested most visibly for `list.__add__`, which has an overloaded
definition in the typeshed:


b398b83631/crates/ty_vendored/vendor/typeshed/stdlib/builtins.pyi (L1069-L1072)

Closes https://github.com/astral-sh/ty/issues/314
2025-05-12 13:48:54 -04:00
..
module_resolver [ty] Remove unused variants from various Known* enums (#18015) 2025-05-11 11:18:55 +01:00
semantic_index Fix typos (#17988) 2025-05-09 14:57:14 -04:00
types [ty] Apply function specialization to all overloads (#18020) 2025-05-12 13:48:54 -04:00
util Use #[expect(lint)] over #[allow(lint)] where possible (#17822) 2025-05-03 21:20:31 +02:00
ast_node_ref.rs Use #[expect(lint)] over #[allow(lint)] where possible (#17822) 2025-05-03 21:20:31 +02:00
db.rs [ty] Update salsa (#17964) 2025-05-09 11:54:07 +02:00
dunder_all.rs [ty] Update salsa (#17964) 2025-05-09 11:54:07 +02:00
lib.rs [ty] Add support for __all__ (#17856) 2025-05-07 21:42:42 +05:30
lint.rs [ty] Ignore possibly-unresolved-reference by default (#17934) 2025-05-08 17:44:56 +02:00
list.rs Use #[expect(lint)] over #[allow(lint)] where possible (#17822) 2025-05-03 21:20:31 +02:00
module_name.rs Rename Red Knot (#17820) 2025-05-03 19:49:15 +02:00
node_key.rs Rename Red Knot (#17820) 2025-05-03 19:49:15 +02:00
program.rs [ty] Update salsa (#17964) 2025-05-09 11:54:07 +02:00
python_platform.rs Rename Red Knot (#17820) 2025-05-03 19:49:15 +02:00
semantic_index.rs [ty] Update salsa (#17964) 2025-05-09 11:54:07 +02:00
semantic_model.rs Rename Red Knot (#17820) 2025-05-03 19:49:15 +02:00
site_packages.rs [ty] Do not allow invalid virtual environments from discovered .venv or VIRTUAL_ENV (#18003) 2025-05-10 20:36:12 +00:00
suppression.rs [ty] Update salsa (#17964) 2025-05-09 11:54:07 +02:00
symbol.rs [ty] Update salsa (#17964) 2025-05-09 11:54:07 +02:00
types.rs [ty] Apply function specialization to all overloads (#18020) 2025-05-12 13:48:54 -04:00
unpack.rs [ty] Update salsa (#17964) 2025-05-09 11:54:07 +02:00