Skip to content

dhall format adds parentheses on toMap annotation that contains ? #1469

Open
@sjakobi

Description

@sjakobi
      *** Failed! Falsifiable (after 3866 tests and 3 shrinks):
      Unicode
      Header ""
      Annot (ToMap TextShow Nothing) (ImportAlt TextShow (BoolLit False))
      "toMap Text/show : Text/show ? False\n" /= "toMap Text/show : (Text/show ? False)\n"
      Use --quickcheck-replay=288124 to reproduce.
$ echo 'toMap {=} : a ? b' | dhall format
toMap {=} : (a ? b)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions