From 148aa3024ba2a9628eae501f59fb176bb03d7f54 Mon Sep 17 00:00:00 2001 From: Timothy Clem Date: Thu, 13 Oct 2016 08:37:44 -0700 Subject: [PATCH] Bring back Commented, even if it isn't used yet --- src/DiffSummary.hs | 1 + 1 file changed, 1 insertion(+) 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