Commit 01b5d681 authored by's avatar

Update error message to mention -XPatternSignatures instead of -fglasgow-exts

parent 2e68d041
......@@ -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"),
Markdown is supported
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