Skip to content

Commit

Permalink
nix repl :t: Indicate strings that have a context
Browse files Browse the repository at this point in the history
  • Loading branch information
edolstra committed Oct 29, 2017
1 parent 9971d87 commit c1ae189
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libexpr/eval.cc
Expand Up @@ -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";
Expand Down

1 comment on commit c1ae189

@copumpkin
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Please sign in to comment.