From: Simon Marlow Date: Wed, 15 Nov 2006 10:43:22 +0000 (+0000) Subject: restore compilation with 5.04 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=3f11c04f216c789bbe7fd795ff1651b8d5552552 restore compilation with 5.04 --- diff --git a/compiler/prelude/PrelRules.lhs b/compiler/prelude/PrelRules.lhs index 0775670..3863351 100644 --- a/compiler/prelude/PrelRules.lhs +++ b/compiler/prelude/PrelRules.lhs @@ -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