diff options
Diffstat (limited to 'src/libexpr/eval.cc')
-rw-r--r-- | src/libexpr/eval.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/eval.cc b/src/libexpr/eval.cc index 834b15cbdf76..ce38e2ab9213 100644 --- a/src/libexpr/eval.cc +++ b/src/libexpr/eval.cc @@ -87,7 +87,7 @@ static Expr substArgs(EvalState & state, arguments. Find out which. */ for (ATermIterator i(formals); i; ++i) { Expr name; ATerm d1, d2; - matchFormal(*i, name, d1, d2); + if (!matchFormal(*i, name, d1, d2)) abort(); subs.remove(name); } throw TypeError(format("the function does not expect an argument named `%1%'") |