Fix usages of panic

This commit is contained in:
Ayaz Hafiz 2022-11-22 17:27:25 -06:00
parent 12d013c062
commit 291615072b
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
2 changed files with 6 additions and 5 deletions

View file

@ -119,7 +119,7 @@ macro_rules! run_jit_function {
$transform(success)
}
Err(error_msg) => {
Err((error_msg, _)) => {
eprintln!("This Roc code crashed with: \"{error_msg}\"");
Expr::MalformedClosure