summaryrefslogtreecommitdiff
path: root/ghc
diff options
context:
space:
mode:
authorSimon Marlow <simonmar@microsoft.com>2006-02-07 11:11:11 +0000
committerSimon Marlow <simonmar@microsoft.com>2006-02-07 11:11:11 +0000
commit7717b20e5fd2b5bc6b894abe96bd957b9bb5435e (patch)
tree175deae102c0cb29d50cf185bbe9e4ece63596a9 /ghc
parent64fddcbee1a20069252c70ef45e9429ea44c6892 (diff)
downloadhaskell-7717b20e5fd2b5bc6b894abe96bd957b9bb5435e.tar.gz
catch up with changes to Distribution.ParseUtils.ParseResult
Diffstat (limited to 'ghc')
-rw-r--r--ghc/utils/ghc-pkg/Main.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ghc/utils/ghc-pkg/Main.hs b/ghc/utils/ghc-pkg/Main.hs
index 8dd520614c..a734636f2e 100644
--- a/ghc/utils/ghc-pkg/Main.hs
+++ b/ghc/utils/ghc-pkg/Main.hs
@@ -410,7 +410,7 @@ parsePackageInfo
-> IO InstalledPackageInfo
parsePackageInfo str defines force =
case parseInstalledPackageInfo str of
- ParseOk ok -> return ok
+ ParseOk _warns ok -> return ok
ParseFailed err -> die (showError err)
-- -----------------------------------------------------------------------------