From c1ae18941a222d51a47d4971f4bc4cbc5dea449a Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sun, 29 Oct 2017 17:11:22 +0100 Subject: nix repl :t: Indicate strings that have a context --- src/libexpr/eval.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libexpr/eval.cc') diff --git a/src/libexpr/eval.cc b/src/libexpr/eval.cc index 78f6b0010523..548537b72ced 100644 --- a/src/libexpr/eval.cc +++ b/src/libexpr/eval.cc @@ -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"; -- cgit 1.4.1