[Git][ghc/ghc][wip/9.2.6-backports] Fix warnings

Zubin (@wz1000) gitlab at gitlab.haskell.org
Thu Feb 2 14:45:17 UTC 2023



Zubin pushed to branch wip/9.2.6-backports at Glasgow Haskell Compiler / GHC


Commits:
1f212a71 by Zubin Duggal at 2023-02-02T20:14:21+05:30
Fix warnings

- - - - -


2 changed files:

- compiler/GHC.hs
- testsuite/tests/codeGen/should_run/T22798.hs


Changes:

=====================================
compiler/GHC.hs
=====================================
@@ -358,7 +358,6 @@ import GHC.Utils.Monad
 import GHC.Utils.Misc
 import GHC.Utils.Outputable
 import GHC.Utils.Panic
-import GHC.Utils.Panic.Plain
 import GHC.Utils.Logger
 
 import GHC.Core.Predicate


=====================================
testsuite/tests/codeGen/should_run/T22798.hs
=====================================
@@ -90,7 +90,7 @@ maj :: Bits a => a -> a -> a -> a
 maj x y z = (x .&. (y .|. z)) .|. (y .&. z)
 -- note:
 --   the original functions is (x & y) ^ (x & z) ^ (y & z)
---   if you fire off truth tables, this is equivalent to 
+--   if you fire off truth tables, this is equivalent to
 --     (x & y) | (x & z) | (y & z)
 --   which you can the use distribution on:
 --     (x & (y | z)) | (y & z)



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

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/1f212a7184c36c3149418afa1ac43173911f628b
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/20230202/e644d110/attachment.html>


More information about the ghc-commits mailing list