Update error message to mention -XPatternSignatures instead of -fglasgow-exts
authorsimonpj@microsoft.com <unknown>
Thu, 1 Nov 2007 18:03:02 +0000 (18:03 +0000)
committersimonpj@microsoft.com <unknown>
Thu, 1 Nov 2007 18:03:02 +0000 (18:03 +0000)
compiler/rename/RnPat.lhs

index c3dc8af..b20ec9d 100644 (file)
@@ -594,7 +594,7 @@ checkTupSize tup_size
 \r
 patSigErr ty\r
   =  (ptext SLIT("Illegal signature in pattern:") <+> ppr ty)\r
-       $$ nest 4 (ptext SLIT("Use -fglasgow-exts to permit it"))\r
+       $$ nest 4 (ptext SLIT("Use -XPatternSignatures to permit it"))\r
 \r
 dupFieldErr str dup\r
   = hsep [ptext SLIT("duplicate field name"), \r