mirror of
https://github.com/google/go-jsonnet.git
synced 2025-08-08 07:17:12 +02:00
When object fields are evaluated the locals from the object are added to the environment. These locals should have the same environment as the field, in particular they should be at the same inheritance level. Instead they were evaluated as if they were on the level from which original field lookup was performed, resulting in subtle and hard to debug issues.
4 lines
16 B
Plaintext
4 lines
16 B
Plaintext
{
|
|
"bar": 1
|
|
}
|