[project @ 2001-09-13 14:44:24 by simonpj]
authorsimonpj <unknown>
Thu, 13 Sep 2001 14:44:24 +0000 (14:44 +0000)
committersimonpj <unknown>
Thu, 13 Sep 2001 14:44:24 +0000 (14:44 +0000)
More error-message grammar

ghc/compiler/rename/RnEnv.lhs

index d5f39f0..ffcd10b 100644 (file)
@@ -80,7 +80,7 @@ newTopBinder mod rdr_name loc
        -- There should never be a qualified name in a binding position (except in instance decls)
        -- The parser doesn't check this because the same parser parses instance decls
     (if isQual rdr_name then
-       qualNameErr (text "its declaration") (rdr_name,loc)
+       qualNameErr (text "In its declaration") (rdr_name,loc)
      else
        returnRn ()
     )                          `thenRn_`