[commit: ghc] master: Fix comment to use correct option name (56d68de)
Austin Seipp
mad.one at gmail.com
Thu Feb 14 09:20:11 CET 2013
Repository : ssh://darcs.haskell.org//srv/darcs/ghc
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/56d68de5a3ce2c4b652e67fa4a28aadc0f83e228
>---------------------------------------------------------------
commit 56d68de5a3ce2c4b652e67fa4a28aadc0f83e228
Author: shelarcy <shelarcy at gmail.com>
Date: Thu Feb 14 02:19:57 2013 -0600
Fix comment to use correct option name
Signed-off-by: Austin Seipp <aseipp at pobox.com>
>---------------------------------------------------------------
compiler/typecheck/TcErrors.lhs | 2 +-
compiler/typecheck/TcSimplify.lhs | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/compiler/typecheck/TcErrors.lhs b/compiler/typecheck/TcErrors.lhs
index 35afff6..8bb6de1 100644
--- a/compiler/typecheck/TcErrors.lhs
+++ b/compiler/typecheck/TcErrors.lhs
@@ -89,7 +89,7 @@ to compile, and it will run fine unless we evaluate `a`. This is what
It does this by keeping track of which errors correspond to which coercion
in TcErrors. TcErrors.reportTidyWanteds does not print the errors
-and does not fail if -fwarn-type-errors is on, so that we can continue
+and does not fail if -fdefer-type-errors is on, so that we can continue
compilation. The errors are turned into warnings in `reportUnsolved`.
Note [Suppressing error messages]
diff --git a/compiler/typecheck/TcSimplify.lhs b/compiler/typecheck/TcSimplify.lhs
index b69962f..e0af05b 100644
--- a/compiler/typecheck/TcSimplify.lhs
+++ b/compiler/typecheck/TcSimplify.lhs
@@ -557,7 +557,7 @@ to compile, and it will run fine unless we evaluate `a`. This is what
It does this by keeping track of which errors correspond to which coercion
in TcErrors (with ErrEnv). TcErrors.reportTidyWanteds does not print the errors
-and does not fail if -fwarn-type-errors is on, so that we can continue
+and does not fail if -fdefer-type-errors is on, so that we can continue
compilation. The errors are turned into warnings in `reportUnsolved`.
Note [Zonk after solving]
More information about the ghc-commits
mailing list