This commit is contained in:
Richard Feldman 2020-05-22 22:25:27 -04:00
parent 42e3d35564
commit 887ec9860a
13 changed files with 83 additions and 179 deletions

View file

@ -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
}
}
}