Skip to content

Commit

Permalink
Totally not a trivial mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
1Jajen1 committed Jan 23, 2020
1 parent 99553dc commit 714557d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions prettyprinter/src/Data/Text/Prettyprint/Doc/Internal.hs
Original file line number Diff line number Diff line change
Expand Up @@ -516,8 +516,8 @@ hardline = Line

group :: Doc ann -> Doc ann
group = \doc -> case doc of
FlatAlt x y -> case changesOnFlattening x of
HasLine -> y
FlatAlt x y -> case changesOnFlattening y of
HasLine -> x
NoChange -> Union y x
Flat y' -> Union y' x

Expand Down

0 comments on commit 714557d

Please sign in to comment.