This commit is contained in:
greg 2018-05-16 01:13:02 -07:00
parent 36cd7e080d
commit 8f0104ebc7
1 changed files with 0 additions and 2 deletions

View File

@ -92,9 +92,7 @@ impl TypeContext {
pub fn new() -> TypeContext {
TypeContext { bindings: HashMap::new(), /*type_var_count: 0*/ symbol_table: SymbolTable::new() }
}
}
impl TypeContext {
/* note: this adds names for *forward reference* but doesn't actually create any types. solve that problem
* later */
pub fn add_top_level_types(&mut self, ast: &parsing::AST) -> TypeResult<()> {