[Git][ghc/ghc][wip/bump-9.4-ci] hlint: Removed redundant UnboxedSums pragmas

Matthew Pickering (@mpickering) gitlab at gitlab.haskell.org
Fri Dec 9 09:16:24 UTC 2022



Matthew Pickering pushed to branch wip/bump-9.4-ci at Glasgow Haskell Compiler / GHC


Commits:
4b29dab6 by Matthew Pickering at 2022-12-09T00:01:54+00:00
hlint: Removed redundant UnboxedSums pragmas

UnboxedSums is quite confusingly implied by UnboxedTuples, alas, just
the way it is.

See #22485

- - - - -


3 changed files:

- compiler/GHC/Core/Lint.hs
- compiler/GHC/Data/OrdList.hs
- compiler/GHC/Data/Unboxed.hs


Changes:

=====================================
compiler/GHC/Core/Lint.hs
=====================================
@@ -2,7 +2,6 @@
 {-# LANGUAGE ScopedTypeVariables #-}
 {-# LANGUAGE PatternSynonyms #-}
 {-# LANGUAGE UnboxedTuples #-}
-{-# LANGUAGE UnboxedSums #-}
 
 {-
 (c) The University of Glasgow 2006


=====================================
compiler/GHC/Data/OrdList.hs
=====================================
@@ -8,7 +8,6 @@
 {-# LANGUAGE BangPatterns #-}
 {-# LANGUAGE ViewPatterns #-}
 {-# LANGUAGE PatternSynonyms #-}
-{-# LANGUAGE UnboxedSums #-}
 {-# LANGUAGE UnboxedTuples #-}
 
 -- | Provide trees (of instructions), so that lists of instructions can be


=====================================
compiler/GHC/Data/Unboxed.hs
=====================================
@@ -1,6 +1,5 @@
 -- Unboxed counterparts to data structures
 
-{-# LANGUAGE UnboxedSums #-}
 {-# LANGUAGE UnboxedTuples #-}
 {-# LANGUAGE PatternSynonyms #-}
 {-# LANGUAGE UnliftedNewtypes #-}



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

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/4b29dab6b6b077b993b55008d2ea5c8ab30b7750
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/20221209/36508726/attachment-0001.html>


More information about the ghc-commits mailing list