From f2081466fcc84484c1fcdb50685293a146fd0183 Mon Sep 17 00:00:00 2001 From: Kazu Yamamoto Date: Fri, 18 Apr 2014 16:12:21 +0900 Subject: [PATCH] Using Hidden also. (#223) --- Language/Haskell/GhcMod/GhcPkg.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/Language/Haskell/GhcMod/GhcPkg.hs b/Language/Haskell/GhcMod/GhcPkg.hs index 993e5c5..a50c202 100644 --- a/Language/Haskell/GhcMod/GhcPkg.hs +++ b/Language/Haskell/GhcMod/GhcPkg.hs @@ -83,6 +83,7 @@ packageLine :: String -> Maybe Package packageLine l = case listToMaybe $ readP_to_S packageLineP l of Just ((Normal,p),_) -> Just p + Just ((Hidden,p),_) -> Just p _ -> Nothing data PackageState = Normal | Hidden | Broken deriving (Eq,Show)