[commit: ghc] master: Very confusing typo in error message. (7f5d560)

git at git.haskell.org git at git.haskell.org
Thu Jun 23 19:14:30 UTC 2016


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/7f5d560377458f3ec328b9fc60a875d9b91e978e/ghc

>---------------------------------------------------------------

commit 7f5d560377458f3ec328b9fc60a875d9b91e978e
Author: Richard Eisenberg <eir at cis.upenn.edu>
Date:   Fri Apr 22 15:29:10 2016 -0400

    Very confusing typo in error message.


>---------------------------------------------------------------

7f5d560377458f3ec328b9fc60a875d9b91e978e
 compiler/typecheck/TcInteract.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compiler/typecheck/TcInteract.hs b/compiler/typecheck/TcInteract.hs
index 452db5f..f659b22 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 ]))
 



More information about the ghc-commits mailing list