Kill debug
This commit is contained in:
parent
2b8d63d9cc
commit
a105c84943
@ -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