Skip to content

Commit 10de342

Browse files
authored
[ty] fix build failure caused by conflicts between #21683 and #21800 (#21802)
1 parent 3511b7a commit 10de342

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

crates/ty_python_semantic/src/types.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10154,6 +10154,7 @@ impl<'db> TypeVarBoundOrConstraints<'db> {
1015410154
.zip(prev_elements.iter())
1015510155
.map(|(ty, prev_ty)| ty.cycle_normalized(db, *prev_ty, cycle))
1015610156
.collect::<Box<_>>(),
10157+
constraints.recursively_defined(db),
1015710158
))
1015810159
}
1015910160
// The choice of whether it's an upper bound or constraints is purely syntactic and
@@ -10181,6 +10182,7 @@ impl<'db> TypeVarBoundOrConstraints<'db> {
1018110182
.iter()
1018210183
.map(|ty| ty.recursive_type_normalized(db, cycle))
1018310184
.collect::<Box<_>>(),
10185+
constraints.recursively_defined(db),
1018410186
))
1018510187
}
1018610188
}

0 commit comments

Comments
 (0)