[Git][ghc/ghc][wip/simplifier-tweaks] Wibble: remove unused field

Simon Peyton Jones (@simonpj) gitlab at gitlab.haskell.org
Sun Jul 2 21:41:19 UTC 2023



Simon Peyton Jones pushed to branch wip/simplifier-tweaks at Glasgow Haskell Compiler / GHC


Commits:
fe7f28f1 by Simon Peyton Jones at 2023-07-02T22:40:39+01:00
Wibble: remove unused field

- - - - -


1 changed file:

- compiler/GHC/Core/Opt/Simplify/Env.hs


Changes:

=====================================
compiler/GHC/Core/Opt/Simplify/Env.hs
=====================================
@@ -630,7 +630,7 @@ setInScopeFromE.
 
 ---------------------
 zapSubstEnv :: SimplEnv -> SimplEnv
-zapSubstEnv env@(SimplEnv { seMode = mode, seCallDepth = n })
+zapSubstEnv env@(SimplEnv { seCallDepth = n })
   = env { seTvSubst = emptyVarEnv, seCvSubst = emptyVarEnv, seIdSubst = emptyVarEnv
         , seCallDepth = n+1 }
 



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

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/fe7f28f1c55115ec3b2289dd60e55372c8e14d5d
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/20230702/13ce1f95/attachment.html>


More information about the ghc-commits mailing list