Escape keys containing '.'
1 files changed, 1 insertions(+), 1 deletions(-) M src/dhall/render.nim
M src/dhall/render.nim => src/dhall/render.nim +1 -1
@@ 9,7 9,7 @@ func quoteLabel(s: string): string = of "", "if", "then", "else", "let", "in", "as", "using", "merge", "Infinity", "NaN", "Some", "toMap", "assert", "∀", "forall", "with": "`" & s & "`" else: - if s.contains({'/', '"'}): + if s.contains({'/', '"', '.'}): '`' & s & '`' else: s