error message fix (#1758)
authorSimon Marlow <simonmar@microsoft.com>
Mon, 8 Oct 2007 13:49:58 +0000 (13:49 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Mon, 8 Oct 2007 13:49:58 +0000 (13:49 +0000)
compiler/iface/LoadIface.lhs

index a937b7f..e4ac075 100644 (file)
@@ -307,8 +307,8 @@ loadInterface doc_str mod from
 
 badDepMsg mod 
   = hang (ptext SLIT("Interface file inconsistency:"))
 
 badDepMsg mod 
   = hang (ptext SLIT("Interface file inconsistency:"))
-       2 (sep [ptext SLIT("home-package module") <+> quotes (ppr mod) <+> ptext SLIT("is mentioned is needed,"), 
-              ptext SLIT("but is not among the dependencies of interfaces directly imported by the module being compiled")])
+       2 (sep [ptext SLIT("home-package module") <+> quotes (ppr mod) <+> ptext SLIT("is needed,"), 
+              ptext SLIT("but is not listed in the dependencies of the interfaces directly imported by the module being compiled")])
 
 -----------------------------------------------------
 --     Loading type/class/value decls
 
 -----------------------------------------------------
 --     Loading type/class/value decls