remove debug prints

escape-analysis
Sebastien Bourdeauducq 2021-12-01 22:48:06 +08:00
parent dfd3548ed2
commit 142f82f987
3 changed files with 0 additions and 3 deletions

View File

@ -195,7 +195,6 @@ impl InnerResolver {
if let TypeEnum::TVar { id, .. } = &*unifier.get_ty(*x) {
(*id, *x)
} else {
println!("{}", unifier.default_stringify(*x));
unreachable!()
}
}).collect()

View File

@ -167,7 +167,6 @@ impl<'a> Inferencer<'a> {
}
ExprKind::Constant { .. } => {}
_ => {
println!("{:?}", expr.node);
unimplemented!()
}
}

View File

@ -855,7 +855,6 @@ impl Unifier {
}
}
_ => {
println!("{}", ty.get_type_name());
unreachable!("{} not expected", ty.get_type_name())
}
}