mirror of
https://github.com/github/semantic.git
synced 2024-12-19 21:01:35 +03:00
Don't single quote around an import statement
This commit is contained in:
parent
242654b05f
commit
e831229779
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user