about summary refs log tree commit diff
path: root/nix-repl.cc
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2016-07-21T09·16+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2016-07-21T09·16+0200
commitaf5ff6c9184b12004a6bc190b20c02abdbc5e69e (patch)
tree48daf2dd4396a3539a9c545b912b9b9ed87abc60 /nix-repl.cc
parentdf32610dfad2b4e61bff56481e08cda52fa27e9e (diff)
parent8bec2c07a1e25e3471ee5f1b7aedb30a5d5b03cd (diff)
Merge branch 'lambda-position' of https://github.com/fkz/nix-repl
Diffstat (limited to 'nix-repl.cc')
-rw-r--r--nix-repl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/nix-repl.cc b/nix-repl.cc
index dea50a779a95..ab943f7bac1b 100644
--- a/nix-repl.cc
+++ b/nix-repl.cc
@@ -656,7 +656,7 @@ std::ostream & NixRepl::printValue(std::ostream & str, Value & v, unsigned int m
         break;
 
     case tLambda:
-        str << ESC_BLU "«lambda»" ESC_END;
+        str << ESC_BLU "«lambda defined at " << v.lambda.fun->pos << "»" ESC_END;
         break;
 
     case tPrimOp: