Don't import FastString in HsVersions.h
[ghc-hetmet.git] / compiler / typecheck / TcBinds.lhs
index ea2860a..d9f5587 100644 (file)
@@ -56,6 +56,7 @@ import List
 import Util
 import BasicTypes
 import Outputable
+import FastString
 
 import Control.Monad
 \end{code}
@@ -1200,5 +1201,5 @@ missingSigWarn True  name ty
        ; addWarnTcM (env1, mk_msg tidy_ty) }
   where
     mk_msg ty = vcat [ptext SLIT("Definition but no type signature for") <+> quotes (ppr name),
-                     sep [ptext SLIT("Inferred type:") <+> ppr name <+> dcolon <+> ppr ty]]
+                     sep [ptext SLIT("Inferred type:") <+> pprHsVar name <+> dcolon <+> ppr ty]]
 \end{code}