[Git][ghc/ghc][wip/D5373] Fix warning

Matthías Páll Gissurarson gitlab at gitlab.haskell.org
Fri May 24 11:37:08 UTC 2019



Matthías Páll Gissurarson pushed to branch wip/D5373 at Glasgow Haskell Compiler / GHC


Commits:
e39d3d3a by Matthías Páll Gissurarson at 2019-05-24T11:37:02Z
Fix warning

- - - - -


1 changed file:

- compiler/typecheck/TcHoleErrors.hs


Changes:

=====================================
compiler/typecheck/TcHoleErrors.hs
=====================================
@@ -464,7 +464,7 @@ addDocs fits =
 -- refinement level.
 pprHoleFit :: HoleFitDispConfig -> HoleFit -> SDoc
 pprHoleFit _ (RawHoleFit sd) = sd
-pprHoleFit (HFDC sWrp sWrpVars sTy sProv sMs) hf@(HoleFit {..}) =
+pprHoleFit (HFDC sWrp sWrpVars sTy sProv sMs) (HoleFit {..}) =
  hang display 2 provenance
  where name =  getName hfCand
        tyApp = sep $ map ((text "@" <>) . pprParendType) hfWrap



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/commit/e39d3d3acaceade1c06aa7d09b83692f275d0fcb

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/commit/e39d3d3acaceade1c06aa7d09b83692f275d0fcb
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20190524/5bda5f39/attachment.html>


More information about the ghc-commits mailing list