Skip to content

Commit 864fd7b

Browse files
authored
Merge pull request #3 from commercialhaskell/warning
Avoid [GHC-12003] with GHC 9.10
2 parents e2ac9fb + 3e6e751 commit 864fd7b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Data/StaticBytes.hs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{-# LANGUAGE NoImplicitPrelude #-}
2+
{-# LANGUAGE CPP #-}
23
{-# LANGUAGE DeriveAnyClass #-}
34
{-# LANGUAGE DeriveDataTypeable #-}
45
{-# LANGUAGE DeriveGeneric #-}
@@ -27,6 +28,9 @@ import Data.ByteArray
2728
import qualified Data.ByteString as B
2829
import qualified Data.ByteString.Internal as B
2930
import qualified Data.Primitive.ByteArray as BA
31+
#if MIN_VERSION_GLASGOW_HASKELL(9,4,1,0)
32+
import Data.Type.Equality ( type (~) )
33+
#endif
3034
import qualified Data.Vector.Primitive as VP
3135
import qualified Data.Vector.Storable as VS
3236
import qualified Data.Vector.Unboxed as VU

0 commit comments

Comments
 (0)