aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/nixexpr.hh
diff options
context:
space:
mode:
authorBen Burdette <bburdette@gmail.com>2020-06-23 15:30:13 -0600
committerBen Burdette <bburdette@gmail.com>2020-06-23 15:30:13 -0600
commit1d43a6e123e679112dfdfda393e3b6eef99eecf6 (patch)
treea2a6531a53064715aaef8429925b6169f09c70ec /src/libexpr/nixexpr.hh
parentd0e78fbb03e89c8a070e0c50daeda06b055669fc (diff)
use plain errPos instead of nixCode; fix tests
Diffstat (limited to 'src/libexpr/nixexpr.hh')
-rw-r--r--src/libexpr/nixexpr.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/nixexpr.hh b/src/libexpr/nixexpr.hh
index b1bf9f67b..e4cbc660f 100644
--- a/src/libexpr/nixexpr.hh
+++ b/src/libexpr/nixexpr.hh
@@ -239,7 +239,7 @@ struct ExprLambda : Expr
if (!arg.empty() && formals && formals->argNames.find(arg) != formals->argNames.end())
throw ParseError({
.hint = hintfmt("duplicate formal function argument '%1%'", arg),
- .nixCode = NixCode { .errPos = pos }
+ .errPos = pos
});
};
void setName(Symbol & name);