Update more notes

This commit is contained in:
greg 2019-09-10 03:33:28 -07:00
parent 72944ded1b
commit 1ecf1e506c
2 changed files with 4 additions and 2 deletions

View File

@ -1,9 +1,10 @@
# TODO items
## General code cleanup
- standardize on an error type that isn't String
-give scope reduction reference to symbol_table
-turn ast reduction into methods-on-struct-returning-result format
-implement and test open/use statements
- standardize on an error type that isn't String
-implement a visitor pattern for the use of scope_resolver
## Reduction
- make a good type for actual language builtins to avoid string comparisons

View File

@ -160,6 +160,7 @@ impl Meta<Expression> {
Some(ref fqsn) => fqsn,
None => return Expr::ReductionError(format!("FQSN lookup for Value {:?} failed", qualified_name)),
};
//TODO this probably needs to change
let FullyQualifiedSymbolName(ref v) = sym_name;
let name = v.last().unwrap().name.clone();
match symbol_table.lookup_by_fqsn(&sym_name) {