catch up with changes to Distribution.ParseUtils.ParseResult
authorSimon Marlow <simonmar@microsoft.com>
Tue, 7 Feb 2006 11:11:11 +0000 (11:11 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Tue, 7 Feb 2006 11:11:11 +0000 (11:11 +0000)
ghc/utils/ghc-pkg/Main.hs

index 8dd5206..a734636 100644 (file)
@@ -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)
 
 -- -----------------------------------------------------------------------------