From ca721193fc71c065036deecfb9d4274fbfc6850d Mon Sep 17 00:00:00 2001 From: Aiken Cairncross Date: Fri, 14 Jun 2019 14:21:37 +0100 Subject: Fix typo in error message --- compiler/deSugar/Check.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1