Skip to content

Commit 3436d5d

Browse files
committed
Revert "[ty] Add Salsa caching to TupleType::to_class_type"
This reverts commit 252a603.
1 parent deaa45e commit 3436d5d

File tree

1 file changed

+0
-2
lines changed
  • crates/ty_python_semantic/src/types

1 file changed

+0
-2
lines changed

crates/ty_python_semantic/src/types/tuple.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,6 @@ impl<'db> Type<'db> {
166166
}
167167
}
168168

169-
#[salsa::tracked]
170169
impl<'db> TupleType<'db> {
171170
pub(crate) fn new<T>(db: &'db dyn Db, tuple_key: T) -> Option<Self>
172171
where
@@ -220,7 +219,6 @@ impl<'db> TupleType<'db> {
220219
TupleType::new(db, TupleSpec::homogeneous(element))
221220
}
222221

223-
#[salsa::tracked]
224222
pub(crate) fn to_class_type(self, db: &'db dyn Db) -> Option<ClassType<'db>> {
225223
KnownClass::Tuple
226224
.try_to_class_literal(db)

0 commit comments

Comments
 (0)