-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[red-knot] Merge
TypeInferenceBuilder::infer_name_load
and `TypeInf…
…erenceBuilder::lookup_name` (#16019) ## Summary No functional change here; this is another simplification split out from my outcome-refactor branch to reduce the diff there. This merges `TypeInferenceBuilder::infer_name_load` and `TypeInferenceBuilder::lookup_name`. This removes the need to have extensive doc-comments about the purpose of `TypeInferenceBuilder::lookup_name`, since the method only makes sense when called from the specific context of `TypeInferenceBuilder::infer_name_load`. ## Test Plan `cargo test -p red_knot_python_semantic`
- Loading branch information
1 parent
1f3ff48
commit fc59e1b
Showing
1 changed file
with
66 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters