1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 10:41:16 +02:00

* Fix a few warnings.

This commit is contained in:
Eelco Dolstra 2006-08-04 17:07:13 +00:00
parent dcff8cdb76
commit 1854f84e83
4 changed files with 5 additions and 5 deletions

View file

@ -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%'")