mirror of
https://github.com/NixOS/nix
synced 2025-07-07 10:11:47 +02:00
builtins.toJSON: fix __toString usage
This commit is contained in:
parent
c0559a1d60
commit
e583df5280
5 changed files with 29 additions and 8 deletions
|
@ -9,4 +9,5 @@ builtins.toJSON
|
|||
h = [ "a" [ "b" { "foo\nbar" = {}; } ] ];
|
||||
i = 1 + 2;
|
||||
j = 1.44;
|
||||
k = { __toString = self: self.a; a = "foo"; };
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue