From 8f0104ebc7379c0d610e471df89320c120a4e0a7 Mon Sep 17 00:00:00 2001 From: greg Date: Wed, 16 May 2018 01:13:02 -0700 Subject: [PATCH] Deletion --- schala-lang/src/typechecking.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/schala-lang/src/typechecking.rs b/schala-lang/src/typechecking.rs index 86545fd..486a77c 100644 --- a/schala-lang/src/typechecking.rs +++ b/schala-lang/src/typechecking.rs @@ -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<()> {