[commit: ghc] wip/rae: Very confusing typo in error message. (202f7ee)

git at git.haskell.org git at git.haskell.org
Thu Jun 23 13:48:29 UTC 2016


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

On branch  : wip/rae
Link       : http://ghc.haskell.org/trac/ghc/changeset/202f7eeda16892d829d5afbd38c0db0e14e61124/ghc

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

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

    Very confusing typo in error message.


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

202f7eeda16892d829d5afbd38c0db0e14e61124
 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