Make code compile without warnings in ghc-8.6 and ghc-8.8.

This commit is contained in:
Brian Huffman 2020-04-23 20:22:30 -07:00
parent 02c2fcd96a
commit f65c80d7b1
7 changed files with 3 additions and 6 deletions

View File

@ -28,7 +28,7 @@ import Data.List
import Data.Sequence (Seq)
import qualified Data.Sequence as Seq
import qualified Data.Vector as V
import GHC.TypeNats (type (<=), KnownNat)
import GHC.TypeNats (KnownNat)
import Numeric
import Data.Macaw.CFG.AssignRhs (ArchAddrWidth, MemRepr(..))

View File

@ -42,7 +42,6 @@ import Data.Bits
import qualified Data.Kind as Kind
import Data.Macaw.CFG
import Data.Macaw.CFG.Rewriter
import Data.Macaw.Memory (Endianness(..))
import Data.Macaw.Types
import qualified Data.Map as Map
import Data.Parameterized.Classes

View File

@ -64,7 +64,9 @@ module Data.Macaw.X86.Generator
import Control.Lens
import Control.Monad.Cont
import Control.Monad.Except
#if __GLASGOW_HASKELL__ < 808
import Control.Monad.Fail
#endif
import Control.Monad.Reader
import Control.Monad.ST
import Control.Monad.State.Strict

View File

@ -52,7 +52,6 @@ import qualified Control.Monad.Fail as MF
import Data.Parameterized.NatRepr
import qualified Data.Text as T
import qualified Flexdis86 as F
import GHC.TypeLits (KnownNat)
import Data.Macaw.CFG
import Data.Macaw.CFG.Block ( TermStmt(TranslateError) )

View File

@ -36,7 +36,6 @@ module Data.Macaw.X86.InstructionDef
import qualified Flexdis86 as F
import Data.Macaw.Types
import Data.Parameterized.NatRepr
import GHC.TypeLits (KnownNat)
import Data.Macaw.X86.Conditions
import Data.Macaw.X86.Generator

View File

@ -35,7 +35,6 @@ import Data.Word
import qualified Flexdis86 as F
import Data.Macaw.CFG
import Data.Macaw.Memory (Endianness (LittleEndian))
import Data.Macaw.Types

View File

@ -48,7 +48,6 @@ import Text.PrettyPrint.ANSI.Leijen hiding ( (<$>), (<>), empty )
import What4.Concrete
import What4.Interface hiding (IsExpr)
import What4.InterpretedFloatingPoint
import What4.Symbol (userSymbol)
import Lang.Crucible.Backend (IsSymInterface, assert)
import Lang.Crucible.CFG.Expr