Skip to content

Commit

Permalink
Use import list to hide new System.Exit.die
Browse files Browse the repository at this point in the history
Starting with GHC 7.10 (and soon GHC HEAD), System.Exit exports the new `die`
which would clash with Cabal's own `die`. See also

  https://ghc.haskell.org/trac/ghc/ticket/9016

For more details.
  • Loading branch information
hvr authored and ezyang committed Jan 3, 2015
1 parent e682847 commit 7cc5505
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cabal/Distribution/Simple.hs
Expand Up @@ -134,7 +134,7 @@ import Distribution.Text
import System.Environment(getArgs, getProgName)
import System.Directory(removeFile, doesFileExist,
doesDirectoryExist, removeDirectoryRecursive)
import System.Exit
import System.Exit (exitWith,ExitCode(..))
import System.IO.Error (isDoesNotExistError)
import Control.Exception (throwIO)
import Distribution.Compat.Environment (getEnvironment)
Expand Down

0 comments on commit 7cc5505

Please sign in to comment.