[commit: ghc] master: Make comments less beautiful in order to pacify Haddock (8efaff1)
git at git.haskell.org
git at git.haskell.org
Tue Jan 6 17:25:01 UTC 2015
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/8efaff11e89285c059c868b8a84deae7de3bf0f9/ghc
>---------------------------------------------------------------
commit 8efaff11e89285c059c868b8a84deae7de3bf0f9
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date: Tue Jan 6 17:26:03 2015 +0000
Make comments less beautiful in order to pacify Haddock
>---------------------------------------------------------------
8efaff11e89285c059c868b8a84deae7de3bf0f9
compiler/basicTypes/VarSet.hs | 2 +-
compiler/typecheck/TcErrors.hs | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/compiler/basicTypes/VarSet.hs b/compiler/basicTypes/VarSet.hs
index 6c920ba..7b21487 100644
--- a/compiler/basicTypes/VarSet.hs
+++ b/compiler/basicTypes/VarSet.hs
@@ -112,7 +112,7 @@ subVarSet s1 s2 = isEmptyVarSet (s1 `minusVarSet` s2)
transCloVarSet :: (VarSet -> VarSet)
-- Map some variables in the set to
- -- *extra* variables that should be in it
+ -- extra variables that should be in it
-> VarSet -> VarSet
-- (transCloVarSet f s) repeatedly applies f to the set s, adding any
-- new variables to s that it finds thereby, until it reaches a fixed
diff --git a/compiler/typecheck/TcErrors.hs b/compiler/typecheck/TcErrors.hs
index d9b6fc7..21adab4 100644
--- a/compiler/typecheck/TcErrors.hs
+++ b/compiler/typecheck/TcErrors.hs
@@ -277,7 +277,7 @@ reportWanteds ctxt (WC { wc_simple = simples, wc_insol = insols, wc_impl = impli
-- See Note [Do not report derived but soluble errors]
; mapBagM_ (reportImplic ctxt1) implics }
-- NB ctxt1: don't suppress inner insolubles if there's only a
- -- *wanted* insoluble here; but do suppress inner insolubles
+ -- wanted insoluble here; but do suppress inner insolubles
-- if there's a *given* insoluble here (= inaccessible code)
where
env = cec_tidy ctxt
More information about the ghc-commits
mailing list