[Git][ghc/ghc][wip/T22404] Remove dead binding

Simon Peyton Jones (@simonpj) gitlab at gitlab.haskell.org
Sat Dec 24 17:23:48 UTC 2022



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


Commits:
db5dfa43 by Simon Peyton Jones at 2022-12-24T17:23:32+00:00
Remove dead binding

- - - - -


1 changed file:

- compiler/GHC/Core/Opt/OccurAnal.hs


Changes:

=====================================
compiler/GHC/Core/Opt/OccurAnal.hs
=====================================
@@ -2218,7 +2218,7 @@ occAnal env expr@(Lam {})
                       markAllNonTail usage
     in WithUsageDetails final_usage expr'
 
-occAnal env expr@(Case scrut bndr ty alts)
+occAnal env (Case scrut bndr ty alts)
   = let
       WithUsageDetails scrut_usage scrut' = occAnal (scrutCtxt env alts) scrut
 



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

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/db5dfa43d5ef1762ac958394d25040a6493c6eb4
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/20221224/d6435c4c/attachment.html>


More information about the ghc-commits mailing list