[commit: ghc] master, wip/deploy-docs, wip/packaging-fail, wip/run-nofib, wip/windows-32bit: Check.hs: Fix a few typos (f199a84)
git at git.haskell.org
git at git.haskell.org
Thu Mar 21 17:01:35 UTC 2019
Repository : ssh://git@git.haskell.org/ghc
On branches: master,wip/deploy-docs,wip/packaging-fail,wip/run-nofib,wip/windows-32bit
Link : http://ghc.haskell.org/trac/ghc/changeset/f199a8437ba70e65910220625e690157af679573/ghc
>---------------------------------------------------------------
commit f199a8437ba70e65910220625e690157af679573
Author: Simon Jakobi <simon.jakobi at gmail.com>
Date: Tue Mar 19 19:54:58 2019 +0100
Check.hs: Fix a few typos
>---------------------------------------------------------------
f199a8437ba70e65910220625e690157af679573
compiler/deSugar/Check.hs | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/compiler/deSugar/Check.hs b/compiler/deSugar/Check.hs
index db3a501..0142c34 100644
--- a/compiler/deSugar/Check.hs
+++ b/compiler/deSugar/Check.hs
@@ -335,8 +335,8 @@ checkSingle' locn var p = do
fam_insts <- liftD dsGetFamInstEnvs
clause <- liftD $ translatePat fam_insts p
missing <- mkInitialUncovered [var]
- tracePm "checkSingle: missing" (vcat (map pprValVecDebug missing))
- -- no guards
+ tracePm "checkSingle': missing" (vcat (map pprValVecDebug missing))
+ -- no guards
PartialResult prov cs us ds <- runMany (pmcheckI clause []) missing
let us' = UncoveredPatterns us
return $ case (cs,ds) of
@@ -403,12 +403,12 @@ checkMatches' vars matches
, [LMatch GhcTc (LHsExpr GhcTc)])
go [] missing = return (mempty, [], missing, [])
go (m:ms) missing = do
- tracePm "checMatches': go" (ppr m $$ ppr missing)
+ tracePm "checkMatches': go" (ppr m $$ ppr missing)
fam_insts <- liftD dsGetFamInstEnvs
(clause, guards) <- liftD $ translateMatch fam_insts m
r@(PartialResult prov cs missing' ds)
<- runMany (pmcheckI clause guards) missing
- tracePm "checMatches': go: res" (ppr r)
+ tracePm "checkMatches': go: res" (ppr r)
(ms_prov, rs, final_u, is) <- go ms missing'
let final_prov = prov `mappend` ms_prov
return $ case (cs, ds) of
@@ -421,7 +421,7 @@ checkMatches' vars matches
hsLMatchToLPats :: LMatch id body -> Located [LPat id]
hsLMatchToLPats (dL->L l (Match { m_pats = pats })) = cL l pats
- hsLMatchToLPats _ = panic "checMatches'"
+ hsLMatchToLPats _ = panic "checkMatches'"
-- | Check an empty case expression. Since there are no clauses to process, we
-- only compute the uncovered set. See Note [Checking EmptyCase Expressions]
More information about the ghc-commits
mailing list