Closed ari-becker closed 4 years ago
Fix is up here: https://github.com/dhall-lang/dhall-haskell/pull/1729
What about record completions? prettyRecordEntry
is different in prettyRecordLit
and prettyCompletionLit
.
Unformatted:
let T = { Type = { x : Text }, default = {=} } let x = "lul" in T::{ x }
Formatted:
let T = { Type = { x : Text }, default = {=} } let x = "lul" in T::{ x = x }
Good catch, @amesgen! :)
Would you be interested in fixing this in a PR?
In
1.31.0
,dhall format
adjusts this to:which, accordingly, causes
dhall lint --check
to fail when the pun syntax is used.