Permalink
Browse files

Fixed warnings on the generated Paths module.

The warnings are generated by the flag '-fwarn-missing-import-lists'.
  • Loading branch information...
1 parent aa7d98f commit df6fe40cef1414b77dab92a6f6b8fb2fdbb9ccd9 @asr asr committed Sep 10, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 Cabal/Distribution/Simple/Build/PathsModule.hs
@@ -73,9 +73,9 @@ generate pkg_descr lbi =
"\n"++
foreign_imports++
"import qualified Control.Exception as Exception\n"++
- "import Data.Version (Version(..))\n"++
+ "import Data.Version (Version(Version, versionBranch, versionTags))\n"++
"import System.Environment (getEnv)\n"++
- "import Prelude\n"++
+ "import Prelude ((++), FilePath, IO, return)\n"++
"\n"++
"catchIO :: IO a -> (Exception.IOException -> IO a) -> IO a\n"++
"catchIO = Exception.catch\n" ++

0 comments on commit df6fe40

Please sign in to comment.