Commit 015d0995 authored by's avatar
Browse files

Make the error message mentioning -XPatternSignatures spell the flag correctly

parent a549d464
......@@ -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"),
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment