forked from lix-project/lix
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) {
|
switch (v.type) {
|
||||||
case tInt: return "an integer";
|
case tInt: return "an integer";
|
||||||
case tBool: return "a boolean";
|
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 tPath: return "a path";
|
||||||
case tNull: return "null";
|
case tNull: return "null";
|
||||||
case tAttrs: return "a set";
|
case tAttrs: return "a set";
|
||||||
|
|
Loading…
Reference in a new issue