diff --git a/tvix/eval/src/value/attrs.rs b/tvix/eval/src/value/attrs.rs index c0f82b921..ca4d17178 100644 --- a/tvix/eval/src/value/attrs.rs +++ b/tvix/eval/src/value/attrs.rs @@ -23,7 +23,14 @@ mod tests; enum AttrsRep { Empty, Map(BTreeMap), - KV { name: Value, value: Value }, + + /// Warning: this represents a **two**-attribute attrset, with + /// attribute names "name" and "value", like `{name="foo"; + /// value="bar";}`, *not* `{foo="bar";}`! + KV { + name: Value, + value: Value, + }, } impl AttrsRep {