summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAiken Cairncross <acairncross@gmail.com>2019-06-14 14:21:37 +0100
committerBen Gamari <ben@smart-cactus.org>2019-06-24 18:35:12 -0400
commitcc0413b764884bad18f5e7cc16a4028a42551a94 (patch)
tree49898ec0a15a50bb8f236fe24de93f898eeed394
parent9d9eb26710e289c0291d91315eb7ef6285e7174d (diff)
downloadhaskell-cc0413b764884bad18f5e7cc16a4028a42551a94.tar.gz
Fix typo in error message
(cherry picked from commit ca721193fc71c065036deecfb9d4274fbfc6850d)
-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 1cd185d985..51a0a2b6e1 100644
--- a/compiler/deSugar/Check.hs
+++ b/compiler/deSugar/Check.hs
@@ -2549,7 +2549,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