mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-11 00:36:20 +02:00
When showing a lambda, also show the position of the definition
This commit is contained in:
parent
79b02dffcb
commit
8bec2c07a1
1 changed files with 1 additions and 1 deletions
|
@ -628,7 +628,7 @@ std::ostream & NixRepl::printValue(std::ostream & str, Value & v, unsigned int m
|
|||
break;
|
||||
|
||||
case tLambda:
|
||||
str << "«lambda»";
|
||||
str << "«lambda defined at " << v.lambda.fun->pos << "»";
|
||||
break;
|
||||
|
||||
case tPrimOp:
|
||||
|
|
Loading…
Reference in a new issue