[commit: base] : Remove UNPACK statement to eliminate warning about unusable UNPACK. (a079ea1)

Johan Tibell johan.tibell at gmail.com
Tue Feb 12 07:50:49 CET 2013


Repository : ssh://darcs.haskell.org//srv/darcs/packages/base

On branch  : 

http://hackage.haskell.org/trac/ghc/changeset/a079ea15fb835561d03c504b74b3ac85ed1054e2

>---------------------------------------------------------------

commit a079ea15fb835561d03c504b74b3ac85ed1054e2
Author: Andreas Voellmy <andreas.voellmy at gmail.com>
Date:   Fri Dec 21 16:59:38 2012 -0500

    Remove UNPACK statement to eliminate warning about unusable UNPACK.

>---------------------------------------------------------------

 GHC/Event/Manager.hs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/GHC/Event/Manager.hs b/GHC/Event/Manager.hs
index 5461809..cb0ab02 100644
--- a/GHC/Event/Manager.hs
+++ b/GHC/Event/Manager.hs
@@ -114,7 +114,7 @@ data EventManager = EventManager
     , emState        :: {-# UNPACK #-} !(IORef State)
     , emUniqueSource :: {-# UNPACK #-} !UniqueSource
     , emControl      :: {-# UNPACK #-} !Control
-    , emOneShot      :: {-# UNPACK #-} !Bool
+    , emOneShot      :: !Bool
     }
 
 callbackArraySize :: Int





More information about the ghc-commits mailing list