diff --git a/compiler/deSugar/Check.hs b/compiler/deSugar/Check.hs index 4147a78ad2e107a4437a0c21a8d6e883d4e29208..d30cb95515ced395ddcb3170916a72798e309a6f 100644 --- a/compiler/deSugar/Check.hs +++ b/compiler/deSugar/Check.hs @@ -2580,7 +2580,7 @@ warnPmIters dflags (DsMatchContext kind loc) msg is = fsep [ text "Pattern match checker exceeded" , parens (ppr is), text "iterations in", ctxt <> dot , text "(Use -fmax-pmcheck-iterations=n" - , text "to set the maximun number of iterations to n)" ] + , text "to set the maximum number of iterations to n)" ] flag_i = wopt Opt_WarnOverlappingPatterns dflags flag_u = exhaustive dflags kind