diff options
| author | Simon Marlow <marlowsd@gmail.com> | 2011-08-13 09:42:10 +0100 |
|---|---|---|
| committer | Simon Marlow <marlowsd@gmail.com> | 2011-08-14 12:17:12 +0100 |
| commit | 6af8d6174176c1c05219cb901851e6d902eadc7a (patch) | |
| tree | 0964b4e6586837c82b548dfb1df1b062a81bc815 /compiler/ghci | |
| parent | f6f04307747ca890fc06617bc63feaebd4e9aceb (diff) | |
| download | haskell-6af8d6174176c1c05219cb901851e6d902eadc7a.tar.gz | |
fix some #ifdefs that were making compilation with 7.2.1 fail - the
safified array package is not in 7.2.1
Diffstat (limited to 'compiler/ghci')
| -rw-r--r-- | compiler/ghci/ByteCodeAsm.lhs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/compiler/ghci/ByteCodeAsm.lhs b/compiler/ghci/ByteCodeAsm.lhs index fa87543e6a..2ec6555a54 100644 --- a/compiler/ghci/ByteCodeAsm.lhs +++ b/compiler/ghci/ByteCodeAsm.lhs @@ -40,13 +40,7 @@ import Control.Monad.ST ( runST ) import Data.Array.MArray import Data.Array.Unboxed ( listArray ) import Data.Array.Base ( UArray(..) ) - --- castSTUArray has moved to Data.Array.Unsafe -#if __GLASGOW_HASKELL__ >= 701 import Data.Array.Unsafe( castSTUArray ) -#else -import Data.Array.ST ( castSTUArray ) -#endif import Foreign import Data.Char ( ord ) |
