[commit: ghc] wip/nfs-locking: Fix compile error on GHC 8.2+ (5026b9c)

git at git.haskell.org git at git.haskell.org
Fri Oct 27 00:38:18 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/nfs-locking
Link       : http://ghc.haskell.org/trac/ghc/changeset/5026b9c6f145f748e0e8b1621e3af482c475b00d/ghc

>---------------------------------------------------------------

commit 5026b9c6f145f748e0e8b1621e3af482c475b00d
Author: Andrey Mokhov <andrey.mokhov at gmail.com>
Date:   Tue Aug 15 00:44:24 2017 +0100

    Fix compile error on GHC 8.2+


>---------------------------------------------------------------

5026b9c6f145f748e0e8b1621e3af482c475b00d
 src/CommandLine.hs | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/CommandLine.hs b/src/CommandLine.hs
index 18ce2ec..dbcf41f 100644
--- a/src/CommandLine.hs
+++ b/src/CommandLine.hs
@@ -3,10 +3,11 @@ module CommandLine (
     cmdProgressColour, cmdProgressInfo, cmdSkipConfigure, cmdSplitObjects
     ) where
 
-import Data.Dynamic
+import Data.Dynamic (Dynamic)
 import Data.Either
 import qualified Data.HashMap.Strict as Map
 import Data.List.Extra
+import Data.Typeable (TypeRep)
 import Development.Shake hiding (Normal)
 import Hadrian.Utilities
 import System.Console.GetOpt



More information about the ghc-commits mailing list