From 5407249467c4c07b14980f4aabfc9b9da464d032 Mon Sep 17 00:00:00 2001 From: Micha Reiser Date: Wed, 23 Apr 2025 15:11:20 +0200 Subject: [PATCH] [red-knot] Make `BoundMethodType` a salsa interned (#17581) --- crates/red_knot_python_semantic/src/types.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/red_knot_python_semantic/src/types.rs b/crates/red_knot_python_semantic/src/types.rs index ec35873e32..7fc0cd14e2 100644 --- a/crates/red_knot_python_semantic/src/types.rs +++ b/crates/red_knot_python_semantic/src/types.rs @@ -6223,7 +6223,7 @@ impl KnownFunction { /// on an instance of a class. For example, the expression `Path("a.txt").touch` creates /// a bound method object that represents the `Path.touch` method which is bound to the /// instance `Path("a.txt")`. -#[salsa::tracked(debug)] +#[salsa::interned(debug)] pub struct BoundMethodType<'db> { /// The function that is being bound. Corresponds to the `__func__` attribute on a /// bound method object