Ignore errors in statement checks

This commit is contained in:
Agus Zubiaga 2024-10-16 21:14:21 -03:00
parent 9a5a5c3462
commit 31bc3670df
No known key found for this signature in database

View file

@ -790,7 +790,7 @@ fn solve(
state state
} }
Content::Effectful => state, Content::Effectful | Content::Error => state,
Content::RigidVar(_) Content::RigidVar(_)
| Content::FlexAbleVar(_, _) | Content::FlexAbleVar(_, _)
| Content::RigidAbleVar(_, _) | Content::RigidAbleVar(_, _)
@ -799,8 +799,7 @@ fn solve(
| Content::ErasedLambda | Content::ErasedLambda
| Content::Structure(_) | Content::Structure(_)
| Content::Alias(_, _, _, _) | Content::Alias(_, _, _, _)
| Content::RangedNumber(_) | Content::RangedNumber(_) => {
| Content::Error => {
internal_error!("ExpectEffectful: unexpected content: {:?}", content) internal_error!("ExpectEffectful: unexpected content: {:?}", content)
} }
} }