From 015d099534a50ddd22fa862b6edb2a765078c44a Mon Sep 17 00:00:00 2001 From: "simonpj@microsoft.com" Date: Wed, 19 Sep 2007 14:28:21 +0000 Subject: [PATCH] Make the error message mentioning -XPatternSignatures spell the flag correctly --- compiler/rename/RnTypes.lhs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/rename/RnTypes.lhs b/compiler/rename/RnTypes.lhs index ccfabbb..584f438 100644 --- a/compiler/rename/RnTypes.lhs +++ b/compiler/rename/RnTypes.lhs @@ -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"), -- 1.7.10.4