File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
crates/ty_python_semantic/src Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -1452,7 +1452,7 @@ impl<'db> Type<'db> {
14521452 /// P`, but not `B <: P`. Losing transitivity of subtyping is not tenable (it makes union and
14531453 /// intersection simplification dependent on the order in which elements are added), so we do
14541454 /// not use this more general definition of subtyping.
1455- #[ salsa:: tracked( cycle_fn=is_subtype_of_cycle_recover, cycle_initial=is_subtype_of_cycle_initial) ]
1455+ #[ salsa:: tracked( cycle_fn=is_subtype_of_cycle_recover, cycle_initial=is_subtype_of_cycle_initial, heap_size=ruff_memory_usage :: heap_size ) ]
14561456 pub ( crate ) fn is_subtype_of ( self , db : & ' db dyn Db , target : Type < ' db > ) -> bool {
14571457 self . when_subtype_of ( db, target) . is_always_satisfied ( )
14581458 }
You can’t perform that action at this time.
0 commit comments