nix repl :t: Indicate strings that have a context
This commit is contained in:
parent
9971d875a4
commit
c1ae18941a
|
@ -149,7 +149,7 @@ string showType(const Value & v)
|
|||
switch (v.type) {
|
||||
case tInt: return "an integer";
|
||||
case tBool: return "a boolean";
|
||||
case tString: return "a string";
|
||||
case tString: return v.string.context ? "a string with context" : "a string";
|
||||
case tPath: return "a path";
|
||||
case tNull: return "null";
|
||||
case tAttrs: return "a set";
|
||||
|
|
Loading…
Reference in a new issue