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

git at git.haskell.org git at git.haskell.org
Wed Jun 22 15:55:14 UTC 2016


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

On branch  : wip/rae
Link       : http://ghc.haskell.org/trac/ghc/changeset/4d91dc996c96aefb440babbaa029db15f7ff308f/ghc

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

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

    Very confusing typo in error message.


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

4d91dc996c96aefb440babbaa029db15f7ff308f
 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 a9f7bc6..317e7c4 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