diff --git a/src/libexpr/eval.cc b/src/libexpr/eval.cc index 1feb0bf6f..6d9129bd3 100644 --- a/src/libexpr/eval.cc +++ b/src/libexpr/eval.cc @@ -753,7 +753,7 @@ LocalNoInlineNoReturn(void throwEvalErrorWithTrace(const char * s, const std::st { auto e = EvalError(ErrorInfo { .msg = hintfmt(s, s2), - }) + }); e.addTrace(p2, s3); throw e; }