[Git][ghc/ghc][wip/T25281] Tiny wibble

Simon Peyton Jones (@simonpj) gitlab at gitlab.haskell.org
Fri Sep 27 15:37:06 UTC 2024



Simon Peyton Jones pushed to branch wip/T25281 at Glasgow Haskell Compiler / GHC


Commits:
276f6d1e by Simon Peyton Jones at 2024-09-27T16:36:48+01:00
Tiny wibble

- - - - -


1 changed file:

- compiler/GHC/Hs/Expr.hs


Changes:

=====================================
compiler/GHC/Hs/Expr.hs
=====================================
@@ -648,7 +648,7 @@ ppr_lexpr e = ppr_expr (unLoc e)
 
 ppr_expr :: forall p. (OutputableBndrId p)
          => HsExpr (GhcPass p) -> SDoc
-ppr_expr (HsVar _ (L loc v)) = pprPrefixOcc v
+ppr_expr (HsVar _ (L _ v))   = pprPrefixOcc v
 ppr_expr (HsUnboundVar _ uv) = pprPrefixOcc uv
 ppr_expr (HsRecSel _ f)      = pprPrefixOcc f
 ppr_expr (HsIPVar _ v)       = ppr v



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/276f6d1e853e46eb5788699389cadfb84eb8ce9b

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/276f6d1e853e46eb5788699389cadfb84eb8ce9b
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/20240927/0818a504/attachment.html>


More information about the ghc-commits mailing list