Kill debug
This commit is contained in:
parent
73206d345e
commit
2dc9b4c09f
@ -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),
|
||||||
|
Loading…
Reference in New Issue
Block a user