Remove return on unreachable result

This commit is contained in:
Ayaz Hafiz 2022-10-10 13:36:39 -05:00
parent 12778762b2
commit 729f0a8e27
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58

View file

@ -2216,7 +2216,7 @@ impl<'a> Layout<'a> {
}
FlexAbleVar(_, _) | RigidAbleVar(_, _) => {
roc_debug_flags::dbg_do!(roc_debug_flags::ROC_NO_UNBOUND_LAYOUT, {
return todo_abilities!("Able var is unbound!");
todo_abilities!("Able var is unbound!");
});
// If we encounter an unbound type var (e.g. `*` or `a`)