[Git][ghc/ghc][wip/T23109] Unused bindings

Simon Peyton Jones (@simonpj) gitlab at gitlab.haskell.org
Tue May 14 22:24:54 UTC 2024



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


Commits:
9c75401a by Simon Peyton Jones at 2024-05-14T23:24:39+01:00
Unused bindings

- - - - -


1 changed file:

- compiler/GHC/Iface/Syntax.hs


Changes:

=====================================
compiler/GHC/Iface/Syntax.hs
=====================================
@@ -550,10 +550,8 @@ ifaceDeclImplicitBndrs (IfaceClass { ifName = cls_tc_name
   where
     cls_tc_occ = occName cls_tc_name
     n_ctxt = length sc_ctxt
-    n_sigs = length sigs
     dcww_occ = mkDataConWorkerOcc dc_occ
     dc_occ = mkClassDataConOcc cls_tc_occ
-    is_newtype = n_sigs + n_ctxt == 1 -- Sigh (keep this synced with buildClass)
 
 ifaceDeclImplicitBndrs _ = []
 



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

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/9c75401a96fa4c73dfcf02ed91675ceadbe189f3
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/20240514/8881551f/attachment.html>


More information about the ghc-commits mailing list