Make the error message mentioning -XPatternSignatures spell the flag correctly
[ghc-hetmet.git] / compiler / rename / RnTypes.lhs
index 242e8ec..584f438 100644 (file)
@@ -4,11 +4,11 @@
 \section[RnSource]{Main pass of renamer}
 
 \begin{code}
-{-# OPTIONS_GHC -w #-}
+{-# OPTIONS -w #-}
 -- The above warning supression flag is a temporary kludge.
 -- While working on this module you are encouraged to remove it and fix
 -- any warnings in the module. See
---     http://hackage.haskell.org/trac/ghc/wiki/WorkingConventions#Warnings
+--     http://hackage.haskell.org/trac/ghc/wiki/Commentary/CodingStyle#Warnings
 -- for details
 
 module RnTypes ( 
@@ -822,7 +822,7 @@ bogusCharError c
 
 patSigErr ty
   =  (ptext SLIT("Illegal signature in pattern:") <+> ppr ty)
-       $$ nest 4 (ptext SLIT("Use -XPatternSigs to permit it"))
+       $$ nest 4 (ptext SLIT("Use -XPatternSignatures to permit it"))
 
 dupFieldErr str dup
   = hsep [ptext SLIT("duplicate field name"),