summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Eisenberg <eir@cis.upenn.edu>2016-04-22 15:29:10 -0400
committerRichard Eisenberg <eir@cis.upenn.edu>2016-06-23 15:17:40 -0400
commit7f5d560377458f3ec328b9fc60a875d9b91e978e (patch)
treefaac785680717ae85b8a0b897515dde9a81b66ba
parentbb7402187819a489d933643f694d819b63ae25c2 (diff)
downloadhaskell-7f5d560377458f3ec328b9fc60a875d9b91e978e.tar.gz
Very confusing typo in error message.
-rw-r--r--compiler/typecheck/TcInteract.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/typecheck/TcInteract.hs b/compiler/typecheck/TcInteract.hs
index 452db5f826..f659b22608 100644
--- a/compiler/typecheck/TcInteract.hs
+++ b/compiler/typecheck/TcInteract.hs
@@ -165,7 +165,7 @@ solveSimpleWanteds simples
| n `intGtLimit` limit
= failTcS (hang (text "solveSimpleWanteds: too many iterations"
<+> parens (text "limit =" <+> ppr limit))
- 2 (vcat [ text "Set limit with -fsolver-iterations=n; n=0 for no limit"
+ 2 (vcat [ text "Set limit with -fconstraint-solver-iterations=n; n=0 for no limit"
, text "Simples =" <+> ppr simples
, text "WC =" <+> ppr wc ]))