snix/tvix/eval/src/value
Adam Joseph 4ec43bed5e fix(tvix/eval): quote keys which are not valid identifiers
The impl Display for NixAttrs needs to wrap double quotes around any
keys which are not valid Nix identifiers.  This commit does that,
and adds a test (which fails prior to this commit and passes after
this commit).

Change-Id: Ie31ce91e8637cb27073f23f115db81feefdc6424
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7084
Autosubmit: Adam Joseph <adam@westernsemico.com>
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
2022-11-04 01:42:25 +00:00
..
attrs fix(tvix/eval): remove impl PartialEq for Value 2022-11-04 00:30:13 +00:00
arbitrary.rs refactor(tvix/eval): Encapsulate Value::Attrs construction 2022-10-08 19:02:25 +00:00
attrs.rs fix(tvix/eval): remove impl PartialEq for Value 2022-11-04 00:30:13 +00:00
builtin.rs refactor(tvix/eval): builtins now contain closures 2022-10-06 15:22:32 +00:00
function.rs fix(tvix/eval): remove impl PartialEq for Value 2022-11-04 00:30:13 +00:00
list.rs fix(tvix/eval): remove impl PartialEq for Value 2022-11-04 00:30:13 +00:00
mod.rs fix(tvix/eval): remove impl PartialEq for Value 2022-11-04 00:30:13 +00:00
path.rs refactor(tvix/eval): factor out all calls to canon_path 2022-10-13 09:07:47 +00:00
string.rs fix(tvix/eval): quote keys which are not valid identifiers 2022-11-04 01:42:25 +00:00
thunk.rs fix(tvix/eval): remove impl PartialEq for Value 2022-11-04 00:30:13 +00:00