diff options
author | Duncan Coutts <duncan@well-typed.com> | 2014-08-28 05:24:04 +0100 |
---|---|---|
committer | Edward Z. Yang <ezyang@cs.stanford.edu> | 2014-08-29 15:03:33 +0100 |
commit | 616dd87f60b99d8843058366304e2b9f2475eb57 (patch) | |
tree | 77d59161db5e575b6b01a40743768ed7c25de5dc /compiler | |
parent | da7289882610ccae3f16c74be7440d19c29ecd20 (diff) | |
download | haskell-616dd87f60b99d8843058366304e2b9f2475eb57.tar.gz |
Fix a few minor issues spotted in code review
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/main/PackageConfig.hs | 2 | ||||
-rw-r--r-- | compiler/main/Packages.lhs | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/compiler/main/PackageConfig.hs b/compiler/main/PackageConfig.hs index 038291d6b3..3f2bf1680b 100644 --- a/compiler/main/PackageConfig.hs +++ b/compiler/main/PackageConfig.hs @@ -107,7 +107,7 @@ pprPackageConfig InstalledPackageInfo {..} = field "trusted" (ppr trusted), field "import-dirs" (fsep (map text importDirs)), field "library-dirs" (fsep (map text libraryDirs)), - field "hs-libraries" (fsep (map text hsLibraries)), + field "hs-libraries" (fsep (map text hsLibraries)), field "extra-libraries" (fsep (map text extraLibraries)), field "extra-ghci-libraries" (fsep (map text extraGHCiLibraries)), field "include-dirs" (fsep (map text includeDirs)), diff --git a/compiler/main/Packages.lhs b/compiler/main/Packages.lhs index 37ddd846ee..01c75c02d8 100644 --- a/compiler/main/Packages.lhs +++ b/compiler/main/Packages.lhs @@ -1363,7 +1363,8 @@ add_package pkg_db ipid_map ps (p, mb_parent) | Just pid <- Map.lookup ipid ipid_map = add_package pkg_db ipid_map ps (pid, Just p) | otherwise - = Failed (missingPackageMsg ipid <> missingDependencyMsg mb_parent) + = Failed (missingPackageMsg ipid + <> missingDependencyMsg mb_parent) missingPackageErr :: Outputable pkgid => DynFlags -> pkgid -> IO a missingPackageErr dflags p |