mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-25 23:43:48 +00:00
Ignore errors in statement checks
This commit is contained in:
parent
9a5a5c3462
commit
31bc3670df
1 changed files with 2 additions and 3 deletions
|
@ -790,7 +790,7 @@ fn solve(
|
|||
|
||||
state
|
||||
}
|
||||
Content::Effectful => state,
|
||||
Content::Effectful | Content::Error => state,
|
||||
Content::RigidVar(_)
|
||||
| Content::FlexAbleVar(_, _)
|
||||
| Content::RigidAbleVar(_, _)
|
||||
|
@ -799,8 +799,7 @@ fn solve(
|
|||
| Content::ErasedLambda
|
||||
| Content::Structure(_)
|
||||
| Content::Alias(_, _, _, _)
|
||||
| Content::RangedNumber(_)
|
||||
| Content::Error => {
|
||||
| Content::RangedNumber(_) => {
|
||||
internal_error!("ExpectEffectful: unexpected content: {:?}", content)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue