mirror of https://github.com/astral-sh/ruff
never?
This commit is contained in:
parent
2fd7a7d944
commit
e476624ef2
|
|
@ -1458,7 +1458,7 @@ impl<'db> PartialSpecialization<'_, 'db> {
|
|||
.variables_inner(db)
|
||||
.get_index_of(&bound_typevar.identity(db))?;
|
||||
if self.skip.is_some_and(|skip| skip == index) {
|
||||
return Some(Type::unknown());
|
||||
return Some(Type::Never);
|
||||
}
|
||||
self.types.get(index).copied()
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue