You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The command dhall format removes backquotes when it thinks backquotes are unnecessary. But when backquotes are used for builtin labels like Some and Type, sometimes removing the backquotes produces incorrect code.
Minimal example:
letT=<Some|Type>let t :T=T.`Some`
let x :T=T.`Type`
inTrue
The command
dhall format
removes backquotes when it thinks backquotes are unnecessary. But when backquotes are used for builtin labels likeSome
andType
, sometimes removing the backquotes produces incorrect code.Minimal example:
Save this file as
test.dhall
.The file after formatting looks like this:
The backquotes in
Some
andType
have been removed. This produces incorrect code that does not parse.Expected behavior: Quotes should not be removed with
Some
. (It's fine to remove them forType
though.)The text was updated successfully, but these errors were encountered: