mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
wip
This commit is contained in:
parent
42e3d35564
commit
887ec9860a
13 changed files with 83 additions and 179 deletions
|
@ -778,7 +778,12 @@ pub fn constrain_expr(
|
|||
|
||||
exists(vars, And(arg_cons))
|
||||
}
|
||||
RuntimeError(_) => True,
|
||||
RuntimeError(_) | RunLowLevel(_) => {
|
||||
// RunLowLevel can only be added by the compiler, so it's safe
|
||||
// to assume its constraints have already been accounted for.
|
||||
// Runtime Errors have no constraints because they're going to crash.
|
||||
True
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue