1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-28 17:51:15 +02:00

AttrCursor: Remove forceErrors

Instead, force evaluation of the original value only if we need to
show the exception to the user.
This commit is contained in:
Eelco Dolstra 2024-04-19 19:34:07 +02:00
parent 8b86f415c1
commit 2c88930ef2
5 changed files with 58 additions and 20 deletions

View file

@ -43,7 +43,6 @@ MakeError(Abort, EvalError);
MakeError(TypeError, EvalError);
MakeError(UndefinedVarError, EvalError);
MakeError(MissingArgumentError, EvalError);
MakeError(CachedEvalError, EvalError);
MakeError(InfiniteRecursionError, EvalError);
struct InvalidPathError : public EvalError