diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-11-03 14:44:52 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-11-03 14:45:24 +0100 |
commit | 5e6eabe1551f3fa2a463fced39a4a48b504ed1ab (patch) | |
tree | e81dbba5c3ad1e15bf23e8d0cd4942772230366f /src/libexpr/eval.cc | |
parent | e8c379555fa0441c5ab83b8e5a3a106d69fe2507 (diff) |
Fix error message 'assertion failed at'
Diffstat (limited to 'src/libexpr/eval.cc')
-rw-r--r-- | src/libexpr/eval.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/eval.cc b/src/libexpr/eval.cc index 4de87d647..cb8e0a0de 100644 --- a/src/libexpr/eval.cc +++ b/src/libexpr/eval.cc @@ -1405,7 +1405,7 @@ void ExprAssert::eval(EvalState & state, Env & env, Value & v) if (!state.evalBool(env, cond, pos)) { std::ostringstream out; cond->show(out); - throwAssertionError(pos, "assertion '%1%' failed at %2%", out.str()); + throwAssertionError(pos, "assertion '%1%' failed", out.str()); } body->eval(state, env, v); } |