Note about lookup_name_in_scope

This commit is contained in:
Greg Shuflin 2021-12-16 02:35:58 -08:00
parent 934a390f2d
commit dcec8be307
1 changed files with 1 additions and 0 deletions

View File

@ -46,6 +46,7 @@ impl<'a> ScopeResolver<'a> {
/// This method correctly modifies the id_to_def table (ItemId) to have the appropriate
/// mappings.
fn lookup_name_in_scope(&mut self, name: &QualifiedName) {
//TODO this method badly needs attention
let QualifiedName { id, components } = name;
let local_name = components.first().unwrap().clone();