Desugaring of +: substitutes self/super too deeply
Open
bug
- Dominant language
- Jsonnet
- Stars
- 7.6k
- Forks
- 475
- PR merge metrics
- No merged PRs in 30d
Description
When implementing +:, the desugarer currently substitutes self and super out of deeply nested objects when it is not necessary. See this thread and example:
https://groups.google.com/forum/#!topic/jsonnet/IYrLl-6MpZY
`{[{a: "y"}{b: super.a}.b]+: 1}`
@guoshimin
Contributor guide
Assessment
This issue has not been assessed yet.