mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-14 02:06:16 +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;
|
break;
|
||||||
|
|
||||||
case tLambda:
|
case tLambda:
|
||||||
str << "«lambda»";
|
str << "«lambda defined at " << v.lambda.fun->pos << "»";
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case tPrimOp:
|
case tPrimOp:
|
||||||
|
|
Loading…
Reference in a new issue