What is the issue?
When assembling an object via list comprehension, duplicated files are allowed when they should not - see the same example running on sjsonnet.org
How to reproduce?
echo '{ ["bar"]: x for x in [37, -987]}' > foo.jsonnet
./mill "sjsonnet[2.13.3]".jvm.run foo.jsonnet
- Expected:
RUNTIME ERROR: duplicate field name: "bar"
example1.jsonnet:1:1-35
- Actual