ruff/crates/red_knot_python_semantic/src
Carl Meyer 6359e55383
[red-knot] type narrowing (#12706)
Extend the `UseDefMap` to also track which constraints (provided by e.g.
`if` tests) apply to each visible definition.

Uses a custom `BitSet` and `BitSetArray` to track which constraints
apply to which definitions, while keeping data inline as much as
possible.
2024-08-16 16:34:13 -07:00
..
module_resolver [red-knot] Add support for relative imports (#12910) 2024-08-16 12:35:27 +01:00
semantic_index [red-knot] type narrowing (#12706) 2024-08-16 16:34:13 -07:00
types [red-knot] type narrowing (#12706) 2024-08-16 16:34:13 -07:00
ast_node_ref.rs [red-knot] per-definition inference, use-def maps (#12269) 2024-07-16 11:02:30 -07:00
builtins.rs [red-knot] Merge the semantic and module-resolver crates (#12751) 2024-08-08 15:34:11 +01:00
db.rs [red-knot] Merge the semantic and module-resolver crates (#12751) 2024-08-08 15:34:11 +01:00
lib.rs Remove red_knot_python_semantic::python_version::TargetVersion (#12790) 2024-08-10 14:28:31 +01:00
module_name.rs [red-knot] Add support for relative imports (#12910) 2024-08-16 12:35:27 +01:00
node_key.rs [red-knot] Extract red_knot_python_semantic crate (#11926) 2024-06-20 13:24:24 +02:00
program.rs Eagerly validate search paths (#12783) 2024-08-12 07:46:59 +00:00
python_version.rs Remove red_knot_python_semantic::python_version::TargetVersion (#12790) 2024-08-10 14:28:31 +01:00
semantic_index.rs [red-knot] type narrowing (#12706) 2024-08-16 16:34:13 -07:00
semantic_model.rs [red-knot] Add filename and source location for diagnostics (#12842) 2024-08-12 15:56:30 +00:00
types.rs [red-knot] type narrowing (#12706) 2024-08-16 16:34:13 -07:00