diff options
author | Guillaume Maudoux <layus.on@gmail.com> | 2023-01-20 13:01:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-20 13:01:03 +0100 |
commit | ee4b849b175fbc8c6548d7db3de7b5c7dc567be6 (patch) | |
tree | 10800592efd32d1aa7d3c69fb78aa2beebaedc54 /src/libcmd/repl.cc | |
parent | a9fa2c758bad3385efb59b0d421c3b340d831798 (diff) |
Fix unreachable error message
Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
Diffstat (limited to 'src/libcmd/repl.cc')
-rw-r--r-- | src/libcmd/repl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcmd/repl.cc b/src/libcmd/repl.cc index 9b12f8fa2..4158439b6 100644 --- a/src/libcmd/repl.cc +++ b/src/libcmd/repl.cc @@ -397,7 +397,7 @@ StringSet NixRepl::completePrefix(const std::string & prefix) Expr * e = parseString(expr); Value v; e->eval(*state, *env, v); - state->forceAttrs(v, noPos, "nevermind, it is ignored anyway"); + state->forceAttrs(v, noPos, "while evaluating an attrset for the purpose of completion (this error should not be displayed; file an issue?)"); for (auto & i : *v.attrs) { std::string_view name = state->symbols[i.name]; |