From 10a417aaf6494c7adf34c0fdf6f82542c4869bcf Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Fri, 2 Jan 2026 20:09:35 +0000 Subject: [PATCH] [ty] Specify `heap_size` for `SynthesizedTypedDictType` (#22345) --- crates/ty_python_semantic/src/types/typed_dict.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ty_python_semantic/src/types/typed_dict.rs b/crates/ty_python_semantic/src/types/typed_dict.rs index 1b98da3db8..dca085c706 100644 --- a/crates/ty_python_semantic/src/types/typed_dict.rs +++ b/crates/ty_python_semantic/src/types/typed_dict.rs @@ -879,7 +879,7 @@ pub(super) fn validate_typed_dict_dict_literal<'db>( } } -#[salsa::interned(debug)] +#[salsa::interned(debug, heap_size=ruff_memory_usage::heap_size)] pub struct SynthesizedTypedDictType<'db> { #[returns(ref)] pub(crate) items: TypedDictSchema<'db>,