Improve runtime error message

This commit is contained in:
Richard Feldman 2020-07-15 20:58:36 -04:00
parent 730755a951
commit fcdb300a03

View file

@ -1364,7 +1364,7 @@ fn call_by_name<'a>(
Err(_) => {
// One of this function's arguments code gens to a runtime error,
// so attempting to call it will immediately crash.
return Expr::RuntimeError("");
return Expr::RuntimeError("TODO runtime error for invalid layout");
}
}
}