dhall-lang / dhall-haskell

Maintainable configuration files
https://dhall-lang.org/
BSD 3-Clause "New" or "Revised" License
908 stars 211 forks source link

dhall-to-yaml does not properly quote strings #2536

Closed blackheaven closed 9 months ago

blackheaven commented 9 months ago

I'm using dhall-to-yaml 1.7.9 and I'm trying to create strings with ':' in them, but they are not quoting the value, producing invalid yaml.

Input:

{ anInt = 42
, aString = "not : an : object"
, anUUID = "9de94e32-d326-45b3-be3b-fcc616fb1605"
}

Output:

aString: not : an : object
anInt: 42
anUUID: "9de94e32-d326-45b3-be3b-fcc616fb1605"
blackheaven commented 9 months ago

It's fixed on 1.7.12.