Improve error messages from type-checking data constructors
[ghc-hetmet.git] / compiler / typecheck / TcRnMonad.lhs
index 2d74e77..3c6c59e 100644 (file)
@@ -44,7 +44,7 @@ import Bag
 import Outputable
 import UniqSupply
 import Unique
-import UniqFM
+import LazyUniqFM
 import DynFlags
 import StaticFlags
 import FastString
@@ -646,7 +646,7 @@ checkNoErrs main
   = do { (msgs, mb_res) <- tryTcLIE main
        ; addMessages msgs
        ; case mb_res of
-           Nothing   -> failM
+           Nothing  -> failM
            Just val -> return val
        }