This commit is contained in:
Eelco Dolstra 2020-08-05 15:41:51 +02:00
parent 5b22a2c0d4
commit 088dcea0e8

View file

@ -1259,7 +1259,7 @@ void EvalState::callFunction(Value & fun, Value & arg, Value & v, const Pos & po
addErrorTrace(e, lambda.pos, "while evaluating %s",
(lambda.name.set()
? "'" + (string) lambda.name + "'"
: "anonymous lambdaction"));
: "anonymous lambda"));
addErrorTrace(e, pos, "from call site%s", "");
throw;
}