restore compilation with 5.04
authorSimon Marlow <simonmar@microsoft.com>
Wed, 15 Nov 2006 10:43:22 +0000 (10:43 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Wed, 15 Nov 2006 10:43:22 +0000 (10:43 +0000)
compiler/prelude/PrelRules.lhs

index 0775670..3863351 100644 (file)
@@ -45,7 +45,8 @@ import Outputable
 import FastString
 import StaticFlags      ( opt_SimplExcessPrecision )
 
-import Data.Bits as Bits       ( Bits(..) )
+import Data.Bits as Bits       ( Bits(..), shiftL, shiftR )
+       -- shiftL and shiftR were not always methods of Bits
 #if __GLASGOW_HASKELL__ >= 500
 import Data.Word       ( Word )
 #else