aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-11-03 14:44:52 +0100
committerEelco Dolstra <edolstra@gmail.com>2020-11-03 14:45:24 +0100
commit5e6eabe1551f3fa2a463fced39a4a48b504ed1ab (patch)
treee81dbba5c3ad1e15bf23e8d0cd4942772230366f /src
parente8c379555fa0441c5ab83b8e5a3a106d69fe2507 (diff)
Fix error message 'assertion failed at'
Diffstat (limited to 'src')
-rw-r--r--src/libexpr/eval.cc2
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);
}