[Git][ghc/ghc][wip/simplifier-tweaks] Wibble unused parameter
Simon Peyton Jones (@simonpj)
gitlab at gitlab.haskell.org
Wed Jan 10 15:33:29 UTC 2024
Simon Peyton Jones pushed to branch wip/simplifier-tweaks at Glasgow Haskell Compiler / GHC
Commits:
e0bfe294 by Simon Peyton Jones at 2024-01-10T15:33:06+00:00
Wibble unused parameter
- - - - -
1 changed file:
- compiler/GHC/Core/Opt/SetLevels.hs
Changes:
=====================================
compiler/GHC/Core/Opt/SetLevels.hs
=====================================
@@ -1257,7 +1257,7 @@ lvlBind env (AnnRec pairs)
dontFloatNonRec :: LevelEnv -> Level -> Bool
-> Id -> Type -> CoreExpr -> Bool
-dontFloatNonRec env dest_lvl is_bot bndr bndr_ty deann_rhs
+dontFloatNonRec env dest_lvl _is_bot bndr bndr_ty deann_rhs
| isTyVar bndr -- Don't do anything for TyVar binders
= True -- (simplifier gets rid of them pronto)
| isCoVar bndr -- Difficult to fix up CoVar occurrences (see extendPolyLvlEnv)
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/e0bfe2940f5dfc080acdd13713f45ac95879e96c
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/e0bfe2940f5dfc080acdd13713f45ac95879e96c
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/20240110/0ca6c922/attachment.html>
More information about the ghc-commits
mailing list