Open
Description
I was editing a dhall configuration file that generates various entries in an association list depending on its inputs, and I accidentally generated two entries with the same key. I only noticed it later when my changes were already in our staging environment.
My problem boils down to the fact that this snippet does not generate an error or a warning :
echo 'toMap { a = 1 } # toMap { a = 2 }' | dhall-to-json
# Output: { "a": 2 }
This is not a huge problem, but a warning would be nice.