chore: eliminate todo!s

This commit is contained in:
Shunsuke Shibayama 2023-08-24 23:54:31 +09:00
parent 936b6e2f95
commit 46c7982335
5 changed files with 46 additions and 22 deletions

View file

@ -134,7 +134,12 @@ impl Generalizer {
TyParam::unary(op, val)
}
other if other.has_no_unbound_var() => other,
other => todo!("{other:?}"),
other => {
if DEBUG_MODE {
todo!("{other:?}");
}
other
}
}
}