diff options
author | Ben Burdette <bburdette@gmail.com> | 2020-06-23 15:30:13 -0600 |
---|---|---|
committer | Ben Burdette <bburdette@gmail.com> | 2020-06-23 15:30:13 -0600 |
commit | 1d43a6e123e679112dfdfda393e3b6eef99eecf6 (patch) | |
tree | a2a6531a53064715aaef8429925b6169f09c70ec /src/libexpr/nixexpr.hh | |
parent | d0e78fbb03e89c8a070e0c50daeda06b055669fc (diff) |
use plain errPos instead of nixCode; fix tests
Diffstat (limited to 'src/libexpr/nixexpr.hh')
-rw-r--r-- | src/libexpr/nixexpr.hh | 2 |
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); |