mirror of
https://github.com/google/go-jsonnet.git
synced 2025-12-24 10:31:05 +01:00
We didn't set the environment (upvalues) for objects created as comprehensions - we set them for each field separately, but that meant missing the locals.
1 line
84 B
Jsonnet
1 line
84 B
Jsonnet
{local tmp = std.parseHex("ff"), [name]: std.parseHex("aa") + tmp for name in ["a"]} |