Update panic message in repl

This commit is contained in:
Richard Feldman 2022-10-30 13:35:49 -04:00
parent 0c8f6a0a72
commit fccc2ed497
No known key found for this signature in database
GPG key ID: F1F21AA5B1D9E43B

View file

@ -121,7 +121,7 @@ macro_rules! run_jit_function {
$transform(success)
}
Err(error_msg) => {
eprintln!("Compiling this Roc code triggered a bug in the Roc compiler: \"{error_msg}\" - if you have time, it would be helpful if you could open an issue at https://github.com/roc-lang/roc/issues with steps to reproduce this error message.");
eprintln!("This Roc code crashed with: \"{error_msg}\"");
Expr::MalformedClosure
}