summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAiken Cairncross <acairncross@gmail.com>2019-06-14 14:21:37 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-06-15 23:33:50 -0400
commitca721193fc71c065036deecfb9d4274fbfc6850d (patch)
tree8331447a56651b872bc47d9bb85e529bd03c2f1d
parentbeacb6fd898db43382fedf8b9a7e6657e53fca9a (diff)
downloadhaskell-ca721193fc71c065036deecfb9d4274fbfc6850d.tar.gz
Fix typo in error message
-rw-r--r--compiler/deSugar/Check.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/deSugar/Check.hs b/compiler/deSugar/Check.hs
index 4147a78ad2..d30cb95515 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