Kill debug

This commit is contained in:
greg 2018-03-01 22:54:03 -08:00
parent 73206d345e
commit 2dc9b4c09f

View File

@ -134,8 +134,6 @@ impl TypeContext {
Ok(ret_type) Ok(ret_type)
} }
fn type_check_statement(&mut self, statement: &parsing::Statement) -> TypeResult<Type> { fn type_check_statement(&mut self, statement: &parsing::Statement) -> TypeResult<Type> {
println!("statement should be: {:?}", statement);
use self::parsing::Statement::*; use self::parsing::Statement::*;
match statement { match statement {
&ExpressionStatement(ref expr) => self.infer(expr), &ExpressionStatement(ref expr) => self.infer(expr),