diff options
author | Théophane Hufschmitt <7226587+thufschmitt@users.noreply.github.com> | 2023-04-03 20:43:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-03 20:43:02 +0200 |
commit | 523c3f722564f92e6dd7cd6256474c6d23db11b4 (patch) | |
tree | c8c9a26758c88f8ca1d4fdce50fad5a529eb2b1e /src/libcmd/repl.cc | |
parent | 81491e1379138e69138e30d18210badbd0765b89 (diff) | |
parent | bf2c5c3958c258584ac66519124d05ccf446aaeb (diff) |
Merge pull request #8157 from hercules-ci/switch-bugs
Fix current and future `switch` bugs
Diffstat (limited to 'src/libcmd/repl.cc')
-rw-r--r-- | src/libcmd/repl.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libcmd/repl.cc b/src/libcmd/repl.cc index e3afb1531..e75ac2cf4 100644 --- a/src/libcmd/repl.cc +++ b/src/libcmd/repl.cc @@ -1024,6 +1024,8 @@ std::ostream & NixRepl::printValue(std::ostream & str, Value & v, unsigned int m str << v.fpoint; break; + case nThunk: + case nExternal: default: str << ANSI_RED "«unknown»" ANSI_NORMAL; break; |