[Git][ghc/ghc][wip/T21623] Add mkWpEta
Simon Peyton Jones (@simonpj)
gitlab at gitlab.haskell.org
Tue Aug 16 16:47:21 UTC 2022
Simon Peyton Jones pushed to branch wip/T21623 at Glasgow Haskell Compiler / GHC
Commits:
abeb4ba4 by Simon Peyton Jones at 2022-08-16T17:48:42+01:00
Add mkWpEta
- - - - -
1 changed file:
- compiler/GHC/Hs/Utils.hs
Changes:
=====================================
compiler/GHC/Hs/Utils.hs
=====================================
@@ -264,7 +264,7 @@ mkHsLam pats body = mkHsPar (L (getLoc body) (HsLam noExtField matches))
mkHsLams :: [TyVar] -> [EvVar] -> LHsExpr GhcTc -> LHsExpr GhcTc
mkHsLams tyvars dicts expr = mkLHsWrap (mkWpTyLams tyvars
- <.> mkWpLams dicts) expr
+ <.> mkWpEvLams dicts) expr
-- |A simple case alternative with a single pattern, no binds, no guards;
-- pre-typechecking
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/abeb4ba486fc7c1047829723542dd3d7bcc5da3a
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/abeb4ba486fc7c1047829723542dd3d7bcc5da3a
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/20220816/59fabc4a/attachment.html>
More information about the ghc-commits
mailing list