Commit 99cb627a authored by Ben Gamari's avatar Ben Gamari 🐢
Browse files

TcPatSyn: Fix spelling of "pattern" in error message

parent c8702e30
......@@ -362,7 +362,7 @@ addPatSynCtxt (L loc name) thing_inside
wrongNumberOfParmsErr :: Name -> Arity -> Arity -> SDoc
wrongNumberOfParmsErr name decl_arity ty_arity
= hang (text "Patten synonym" <+> quotes (ppr name) <+> ptext (sLit "has")
= hang (text "Pattern synonym" <+> quotes (ppr name) <+> ptext (sLit "has")
<+> speakNOf decl_arity (text "argument"))
2 (text "but its type signature has" <+> speakN ty_arity)
......
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