mirror of
https://github.com/github/semantic.git
synced 2024-12-11 08:45:48 +03:00
🔥 redundant parens.
This commit is contained in:
parent
483e6b2f2c
commit
6f7683c9a7
@ -125,7 +125,7 @@ entryChange entry = case entry of
|
||||
-- | Construct a 'TOCSummary' from a node annotation and a change type label.
|
||||
recordSummary :: T.Text -> Declaration -> TOCSummary
|
||||
recordSummary changeText record = case record of
|
||||
(ErrorDeclaration text _ srcSpan language) -> ErrorSummary text srcSpan language
|
||||
ErrorDeclaration text _ srcSpan language -> ErrorSummary text srcSpan language
|
||||
decl-> TOCSummary (toCategoryName decl) (formatIdentifier decl) (declarationSpan decl) changeText
|
||||
where
|
||||
formatIdentifier (MethodDeclaration identifier _ _ Language.Go (Just receiver)) = "(" <> receiver <> ") " <> identifier
|
||||
|
Loading…
Reference in New Issue
Block a user