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