1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-27 21:01:16 +02:00

printValue(): Don't show repeated values

Fixes #6157.
This commit is contained in:
Eelco Dolstra 2022-03-03 13:07:50 +01:00
parent 6097790863
commit ecff9d969a
3 changed files with 16 additions and 15 deletions

View file

@ -114,8 +114,8 @@ struct Value
private:
InternalType internalType;
friend std::string showType(const Value & v);
friend void printValue(std::ostream & str, std::set<const Value *> & active, const Value & v);
friend std::string showType(const Value & v);
friend void printValue(std::ostream & str, std::set<const Value *> & seen, const Value & v);
public: