From 01b5d681ffa337dc40974365500eff4a785c8881 Mon Sep 17 00:00:00 2001 From: "simonpj@microsoft.com" Date: Thu, 1 Nov 2007 18:03:02 +0000 Subject: [PATCH] Update error message to mention -XPatternSignatures instead of -fglasgow-exts --- compiler/rename/RnPat.lhs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/rename/RnPat.lhs b/compiler/rename/RnPat.lhs index c3dc8af..b20ec9d 100644 --- a/compiler/rename/RnPat.lhs +++ b/compiler/rename/RnPat.lhs @@ -594,7 +594,7 @@ checkTupSize tup_size patSigErr ty = (ptext SLIT("Illegal signature in pattern:") <+> ppr ty) - $$ nest 4 (ptext SLIT("Use -fglasgow-exts to permit it")) + $$ nest 4 (ptext SLIT("Use -XPatternSignatures to permit it")) dupFieldErr str dup = hsep [ptext SLIT("duplicate field name"), -- 1.7.10.4