Closed amesgen closed 1 year ago
Describe the bug With --unsafe, this snippet (typechecks fine)
--unsafe
foo = \cases True True -> True _ _ -> False
is formatted to
which fails to parse with
<input>:3:3 Parsing of formatted code failed: [GHC-58481] parse error (possibly incorrect indentation or mismatched brackets)
Expected behavior It should be formatted correctly, using identation for subsequent patterns:
Environment Happens using Ormolu 0.6.0.1 and current master (8f2bc367051481ee63c47da7745572a351ba3730)
Describe the bug With
--unsafe
, this snippet (typechecks fine)is formatted to
which fails to parse with
Expected behavior It should be formatted correctly, using identation for subsequent patterns:
Environment Happens using Ormolu 0.6.0.1 and current master (8f2bc367051481ee63c47da7745572a351ba3730)