forked from lix-project/lix
When showing a lambda, also show the position of the definition
This commit is contained in:
parent
79b02dffcb
commit
8bec2c07a1
|
@ -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