From dcec8be30764afd5f4efe7b6df6da690f3cb7d2c Mon Sep 17 00:00:00 2001 From: Greg Shuflin Date: Thu, 16 Dec 2021 02:35:58 -0800 Subject: [PATCH] Note about lookup_name_in_scope --- schala-lang/src/symbol_table/resolver.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/schala-lang/src/symbol_table/resolver.rs b/schala-lang/src/symbol_table/resolver.rs index 4dc368e..d92b406 100644 --- a/schala-lang/src/symbol_table/resolver.rs +++ b/schala-lang/src/symbol_table/resolver.rs @@ -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();