[Git][ghc/ghc][wip/zap-coercions] Fix warning

Ben Gamari gitlab at gitlab.haskell.org
Sat Mar 28 01:25:11 UTC 2020



Ben Gamari pushed to branch wip/zap-coercions at Glasgow Haskell Compiler / GHC


Commits:
a221cec2 by Ben Gamari at 2020-03-27T21:24:42-04:00
Fix warning

- - - - -


1 changed file:

- compiler/GHC/Core/Coercion.hs


Changes:

=====================================
compiler/GHC/Core/Coercion.hs
=====================================
@@ -1069,7 +1069,7 @@ mkNthCo r n co
                                                             , ppr r ]) )
                                              arg_cos `getNth` n
 
-    go r 0 co@(UnivCo prov _ ty1 ty2)
+    go r 0 (UnivCo prov _ ty1 ty2)
       | isForAllTy ty1
       = ASSERT(isForAllTy ty2)
         UnivCo prov r (typeKind ty1) (typeKind ty2)



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

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/a221cec2bcf576d2d5830999d2074438784fce8a
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/20200327/80765467/attachment.html>


More information about the ghc-commits mailing list