diff --git a/schala-lang/language/src/symbol_table/mod.rs b/schala-lang/language/src/symbol_table/mod.rs index b00e15c..b881c53 100644 --- a/schala-lang/language/src/symbol_table/mod.rs +++ b/schala-lang/language/src/symbol_table/mod.rs @@ -123,6 +123,9 @@ pub struct SymbolTable { /// some basic information about what that symbol is and (ideally) references to other tables /// (e.g. typechecking tables) with more information about that symbol. fqsn_to_symbol: HashMap, + + //TODO this should probably eventually replace the pair of id_to_fqsn/fqsn_to_symbol + id_to_symbol: HashMap, } impl SymbolTable { @@ -133,6 +136,7 @@ impl SymbolTable { types: NameTable::new(), id_to_fqsn: HashMap::new(), fqsn_to_symbol: HashMap::new(), + id_to_symbol: HashMap::new(), } }