1
1
mirror of https://github.com/github/semantic.git synced 2024-12-21 05:41:54 +03:00

Reformat the ErrorSummary case.

This commit is contained in:
Rob Rix 2019-10-16 22:20:19 -04:00
parent 5d376b41a5
commit 9dc8140af7
No known key found for this signature in database
GPG Key ID: F188A01508EA1CF7

View File

@ -38,7 +38,11 @@ data TOCSummary
, span :: Span
, changeType :: T.Text
}
| ErrorSummary { errorText :: T.Text, errorSpan :: Span, errorLanguage :: Language }
| ErrorSummary
{ errorText :: T.Text
, errorSpan :: Span
, errorLanguage :: Language
}
deriving stock (Eq, Show)
instance ToJSON TOCSummary where