[red-knot] intern types using Salsa (#12061)

Intern types using Salsa interning instead of in the `TypeInference`
result.

This eliminates the need for `TypingContext`, and also paves the way for
finer-grained type inference queries.
This commit is contained in:
Carl Meyer 2024-07-05 12:16:37 -07:00 committed by GitHub
parent 7b50061b43
commit 0e44235981
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 190 additions and 534 deletions

View file

@ -12,4 +12,4 @@ pub mod semantic_index;
mod semantic_model;
pub mod types;
type FxIndexSet<V> = indexmap::set::IndexSet<V, BuildHasherDefault<FxHasher>>;
type FxOrderSet<V> = ordermap::set::OrderSet<V, BuildHasherDefault<FxHasher>>;