From e8312297790e3cef1b22cb016e2fd8279b11a000 Mon Sep 17 00:00:00 2001 From: Rick Winfrey Date: Mon, 17 Oct 2016 18:42:24 -0500 Subject: [PATCH] Don't single quote around an import statement --- src/DiffSummary.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/DiffSummary.hs b/src/DiffSummary.hs index 89b5e2af8..ae7cd3e9e 100644 --- a/src/DiffSummary.hs +++ b/src/DiffSummary.hs @@ -155,6 +155,7 @@ toLeafInfos leaf = pure . flip JSONSummary (sourceSpan leaf) $ case leaf of (LeafInfo "anonymous function" termName _) -> toDoc termName <+> "function" (LeafInfo cName@"string" termName _) -> toDoc termName <+> toDoc cName (LeafInfo cName@"export statement" termName _) -> toDoc termName <+> toDoc cName + (LeafInfo cName@"import statement" termName _) -> toDoc termName <+> toDoc cName LeafInfo{..} -> squotes (toDoc termName) <+> toDoc categoryName node -> panic $ "Expected a leaf info but got a: " <> show node