Skip to content

Commit

Permalink
error message is more like Jordans suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
FredTheDino committed Dec 4, 2022
1 parent ce2fa58 commit cd79ba0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Language/PureScript/Pretty/Types.hs
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,9 @@ prettyPrintRowDiffWith tro open close labels =
format prefix ty = text ("," ++ prefix ++ T.unpack (prettyPrintLabel name) ++ " " ++ doubleColon ++ " ") <> typeAsBox' ty
in
vcat left $
catMaybes $
[ fmap (format " ") maybeTy1
, fmap (format " ") maybeTy2
[ fromMaybe (text "<no row>") $ fmap (format " ") maybeTy1
, fromMaybe (text "<no row>") $ fmap (format " ") maybeTy2
, text ""
]


Expand Down

0 comments on commit cd79ba0

Please sign in to comment.