diff --git a/src/DiffSummary.hs b/src/DiffSummary.hs index a7d4942c4..cc9bdc61e 100644 --- a/src/DiffSummary.hs +++ b/src/DiffSummary.hs @@ -244,6 +244,7 @@ termToDiffInfo blob term = case unwrap term of S.Fixed children -> BranchInfo (termToDiffInfo' <$> children) (toCategoryName term) BFixed S.AnonymousFunction _ _ -> LeafInfo "anonymous function" (toTermName' term) (getField $ extract term) S.Comment _ -> HideInfo + S.Commented cs leaf -> BranchInfo (termToDiffInfo' <$> cs <> maybeToList leaf) (toCategoryName term) BCommented S.Error _ -> ErrorInfo (getField $ extract term) (toTermName' term) _ -> LeafInfo (toCategoryName term) (toTermName' term) (getField $ extract term) where toTermName' = toTermName blob