diff --git a/crates/ty_python_semantic/src/types/constraints.rs b/crates/ty_python_semantic/src/types/constraints.rs index 0fbd9fc7db..2bf58f483b 100644 --- a/crates/ty_python_semantic/src/types/constraints.rs +++ b/crates/ty_python_semantic/src/types/constraints.rs @@ -1409,7 +1409,7 @@ impl<'db> Node<'db> { // We've been tracking the lower and upper bound that the types for this path must // satisfy. Pass those bounds along and let the caller choose a representative type // from within that range. - f(Some(¤t_bounds)); + f(Some(current_bounds)); } Node::AlwaysFalse => {