We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d913846 commit 8ef874dCopy full SHA for 8ef874d
crates/ty_python_semantic/src/types.rs
@@ -1456,7 +1456,7 @@ impl<'db> Type<'db> {
1456
/// Return true if this type is a subtype of type `target`.
1457
///
1458
/// See [`TypeRelation::Subtyping`] for more details.
1459
- #[salsa::tracked(cycle_fn=is_subtype_of_cycle_recover, cycle_initial=is_subtype_of_cycle_initial)]
+ #[salsa::tracked(cycle_fn=is_subtype_of_cycle_recover, cycle_initial=is_subtype_of_cycle_initial, heap_size=ruff_memory_usage::heap_size)]
1460
pub(crate) fn is_subtype_of(self, db: &'db dyn Db, target: Type<'db>) -> bool {
1461
self.when_subtype_of(db, target).is_always_satisfied()
1462
}
0 commit comments