1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 10:41:16 +02:00

printLiteral: Do not overload

This commit is contained in:
Robert Hensing 2023-04-16 12:56:31 +02:00
parent 9c74df5bb4
commit 1e2dd669bc
5 changed files with 16 additions and 16 deletions

View file

@ -105,10 +105,10 @@ void Value::print(const SymbolTable & symbols, std::ostream & str,
str << integer;
break;
case tBool:
printLiteral(str, boolean);
printLiteralBool(str, boolean);
break;
case tString:
printLiteral(str, string.s);
printLiteralString(str, string.s);
break;
case tPath:
str << path; // !!! escaping?