forked from M-Labs/nac3
1
0
Fork 0

remove debug prints

This commit is contained in:
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) { if let TypeEnum::TVar { id, .. } = &*unifier.get_ty(*x) {
(*id, *x) (*id, *x)
} else { } else {
println!("{}", unifier.default_stringify(*x));
unreachable!() unreachable!()
} }
}).collect() }).collect()

View File

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

View File

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