1
1
mirror of https://github.com/github/semantic.git synced 2024-11-29 02:44:36 +03:00

Fix a couple of new warnings

This commit is contained in:
Timothy Clem 2016-09-07 15:27:31 -07:00
parent 4600436167
commit 9661cad15f
2 changed files with 1 additions and 2 deletions

View File

@ -3,7 +3,6 @@ module Arguments (Arguments(..), args) where
import Data.Functor.Both
import qualified Prelude as P
import Prelude
import Prologue
import qualified Renderer as R
-- | The command line arguments to the application.

View File

@ -165,7 +165,7 @@ toTermName source term = case unwrap term of
toArgName :: (HasCategory leaf, HasField fields Category, HasField fields Range) => Term leaf (Record fields) -> Text
toArgName arg = case identifiable arg of
Identifiable arg -> toTermName' arg
Unidentifiable arg -> "..."
Unidentifiable _ -> "..."
maybeParentContext :: Maybe (Category, Text) -> Doc
maybeParentContext = maybe "" (\annotation ->