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

git at git.haskell.org git at git.haskell.org
Sat Apr 23 14:29:56 UTC 2016


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

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

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

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

    Very confusing typo in error message.


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

f8349174c95bedde9c8557d1a156a788adc1dd57
 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 f451af9..2bc4184 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