[Git][ghc/ghc][wip/T21623] Unused variable

Simon Peyton Jones (@simonpj) gitlab at gitlab.haskell.org
Tue Aug 23 18:00:18 UTC 2022



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


Commits:
e4b36fa0 by Simon Peyton Jones at 2022-08-23T18:59:58+01:00
Unused variable

- - - - -


1 changed file:

- compiler/GHC/Core/Lint.hs


Changes:

=====================================
compiler/GHC/Core/Lint.hs
=====================================
@@ -2312,7 +2312,7 @@ lintCoercion the_co@(SelCo cs co)
 
          ; _ -> case (isFunTy s, isFunTy t) of
          { (True, True)
-             | SelFun fs <- cs
+             | SelFun {} <- cs
              -> return (SelCo cs co')
 
          ; _ -> case (splitTyConApp_maybe s, splitTyConApp_maybe t) of



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

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/e4b36fa07c5c91a546aebe5efb042677d4fbc6a2
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/20220823/34f109a0/attachment.html>


More information about the ghc-commits mailing list