From 10de34299105e3834ed965adda74ce3a26006d23 Mon Sep 17 00:00:00 2001 From: Shunsuke Shibayama <45118249+mtshiba@users.noreply.github.com> Date: Fri, 5 Dec 2025 11:20:24 +0900 Subject: [PATCH] [ty] fix build failure caused by conflicts between #21683 and #21800 (#21802) --- crates/ty_python_semantic/src/types.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/ty_python_semantic/src/types.rs b/crates/ty_python_semantic/src/types.rs index e297ebf821..8beb1cf68a 100644 --- a/crates/ty_python_semantic/src/types.rs +++ b/crates/ty_python_semantic/src/types.rs @@ -10154,6 +10154,7 @@ impl<'db> TypeVarBoundOrConstraints<'db> { .zip(prev_elements.iter()) .map(|(ty, prev_ty)| ty.cycle_normalized(db, *prev_ty, cycle)) .collect::>(), + constraints.recursively_defined(db), )) } // The choice of whether it's an upper bound or constraints is purely syntactic and @@ -10181,6 +10182,7 @@ impl<'db> TypeVarBoundOrConstraints<'db> { .iter() .map(|ty| ty.recursive_type_normalized(db, cycle)) .collect::>(), + constraints.recursively_defined(db), )) } }