aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGuillaume Maudoux <guillaume.maudoux@tweag.io>2022-04-28 13:18:19 +0200
committerGuillaume Maudoux <guillaume.maudoux@tweag.io>2022-04-28 13:18:19 +0200
commitf6baa4d18845297f3f7fc2434b7ade93a45718e7 (patch)
treea24e4c3938572f680c40e49d9e84bca29fa09d47 /src
parent402ee8ab64f9b11989cbdcf53f8ca513cb25e23f (diff)
fixup! fix errors case and wording
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 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;
}