Skip to content

Commit

Permalink
Pretty-printing fix
Browse files Browse the repository at this point in the history
Summary: `++` was what we once used instead of `|`

Reviewed By: donsbot

Differential Revision: D63324058

fbshipit-source-id: 1c1b9288a9cb1bbe8a727079f7d62d79396fe91f
  • Loading branch information
Simon Marlow authored and facebook-github-bot committed Sep 25, 2024
1 parent 5e7817a commit ca8e76e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glean/db/Glean/Query/Typecheck/Types.hs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ data TcTerm
deriving Show

instance Display TcTerm where
display opts (TcOr a b) = display opts a <+> "++" <+> display opts b
display opts (TcOr a b) = display opts a <+> "|" <+> display opts b
display opts (TcDeref _ _ pat) = displayAtom opts pat <> "*"
display opts (TcFieldSelect (Typed _ pat) field) =
displayAtom opts pat <> "." <> pretty field
Expand Down

0 comments on commit ca8e76e

Please sign in to comment.