diff options
Diffstat (limited to 'src/Main.hs')
-rw-r--r-- | src/Main.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Main.hs b/src/Main.hs index cff23922..774e0811 100644 --- a/src/Main.hs +++ b/src/Main.hs @@ -1266,8 +1266,8 @@ getPackage session pkgInfo = do } -- | Build a package doc env out of a topologically sorted list of modules -packageDocEnv :: [Module] -> [ModuleInfo] -> [(Name, Name)] -packageDocEnv mods infos = concatMap moduleDocEnv (zip mods infos) +packageDocEnv :: [Module] -> [ModuleInfo] -> PackageEnv +packageDocEnv mods infos = Map.fromList $ concatMap moduleDocEnv (zip mods infos) where moduleDocEnv (mod, modInfo) | "GHC" `isPrefixOf` moduleString mod = [] |