mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 15:51:12 +00:00
Improve runtime error message
This commit is contained in:
parent
730755a951
commit
fcdb300a03
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue