diff --git a/compiler/mono/src/expr.rs b/compiler/mono/src/expr.rs index 0713364915..333cbb0ddf 100644 --- a/compiler/mono/src/expr.rs +++ b/compiler/mono/src/expr.rs @@ -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"); } } }