0292ead7a53c279d547327a41deaa92a85909f6a
The `TypeInferenceAccess` and `TypeSlotAccess` traits have been consolidated into a single `InferenceAccess` trait. This simplifies the call hook interface by providing a unified way to access type inference operations and scope slot types. A new struct, `CheckerInferenceAccess`, is introduced to provide a concrete implementation of `InferenceAccess` for the `TypeChecker`. This struct wraps both the `TypeChecker` and the `TypeContext`, allowing call hooks to interact with both without needing to know their specific types. This avoids potential circular dependencies between modules. The `get_slot_type` method has been moved to the new `InferenceAccess` trait. This method is crucial for call hooks that need to recover the original `TypeVar` ID after substitutions have occurred, particularly in the `push_post_call` function for series.
Description
No description provided
Languages
Rust
100%