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:
parent
dcff8cdb76
commit
1854f84e83
4 changed files with 5 additions and 5 deletions
|
@ -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%'")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue