[Git][ghc/ghc][wip/T18599] Simplify type

Shayne Fletcher gitlab at gitlab.haskell.org
Mon Nov 9 02:30:06 UTC 2020



Shayne Fletcher pushed to branch wip/T18599 at Glasgow Haskell Compiler / GHC


Commits:
77f0052e by Shayne Fletcher at 2020-11-08T21:29:55-05:00
Simplify type

- - - - -


1 changed file:

- compiler/GHC/Parser/PostProcess.hs


Changes:

=====================================
compiler/GHC/Parser/PostProcess.hs
=====================================
@@ -3073,7 +3073,7 @@ mkProjUpdate -- e.g {foo.bar.baz.quux = 43}
       mkSet' acc (fIELD, g) = mkSet (mkParen g) fIELD (mkParen acc)
 
 -- Transform a regular record field update into a projection update.
-recUpdFieldToProjUpdate :: LHsRecUpdField GhcPs -> LHsProjUpdate GhcPs (LHsExpr GhcPs)
+recUpdFieldToProjUpdate :: LHsRecUpdField GhcPs -> LHsRecUpdProj GhcPs
 recUpdFieldToProjUpdate (L l (HsRecField occ arg _)) =
   mkProjUpdate l [L loc (fsLit f)] (val arg)
   where



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/77f0052e00eae4f562254a6fcf49bfb4a80e407c

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/77f0052e00eae4f562254a6fcf49bfb4a80e407c
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/20201108/7d7c0114/attachment.html>


More information about the ghc-commits mailing list