Report repl compile errors as bugs

This commit is contained in:
Richard Feldman 2022-10-30 03:19:47 -04:00
parent 9ed13eb97b
commit e93d9b81d8
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!("This Roc code crashed with: \"{}\"", 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.");
Expr::MalformedClosure
}