mirror of
https://github.com/github/semantic.git
synced 2025-01-07 07:58:12 +03:00
🔥 a bunch of redundant imports.
This commit is contained in:
parent
4322c8889c
commit
91fce6a246
@ -7,7 +7,6 @@ module Analysis.Abstract.Caching.FlowSensitive
|
||||
|
||||
import Control.Abstract
|
||||
import Data.Abstract.BaseError
|
||||
import Data.Abstract.Environment
|
||||
import Data.Abstract.Module
|
||||
import Data.Abstract.Ref
|
||||
import Data.Map.Monoidal as Monoidal
|
||||
|
@ -23,7 +23,6 @@ import Control.Effect.Sum
|
||||
import Data.Abstract.Address.Hole
|
||||
import Data.Abstract.Address.Located
|
||||
import Data.Abstract.BaseError
|
||||
import Data.Abstract.Environment
|
||||
import Data.Abstract.Ref
|
||||
import Data.Abstract.Declarations
|
||||
import Data.Abstract.Module (Module (moduleInfo), ModuleInfo (..))
|
||||
|
@ -6,7 +6,6 @@ module Analysis.Abstract.Tracing
|
||||
|
||||
import Control.Abstract hiding (trace)
|
||||
import Control.Effect.Writer
|
||||
import Data.Abstract.Environment
|
||||
import Data.Semigroup.Reducer as Reducer
|
||||
|
||||
-- | Trace analysis.
|
||||
|
@ -31,8 +31,6 @@ import qualified Data.Set as Set
|
||||
import Data.Span
|
||||
import Prologue
|
||||
import System.FilePath.Posix (takeDirectory)
|
||||
import Data.Abstract.Heap
|
||||
import Data.Abstract.ScopeGraph
|
||||
import Data.Abstract.Ref
|
||||
|
||||
-- A scope address, frame address, and value ref.
|
||||
|
@ -31,12 +31,10 @@ module Control.Abstract.Value
|
||||
) where
|
||||
|
||||
import Control.Abstract.ScopeGraph (Declaration, ScopeGraph, ScopeError)
|
||||
import Control.Abstract.Environment
|
||||
import Control.Abstract.Evaluator
|
||||
import Control.Abstract.Heap
|
||||
import Control.Abstract.ScopeGraph (Allocator)
|
||||
import Control.Effect.Carrier
|
||||
import Data.Abstract.Declarations
|
||||
import Data.Abstract.BaseError
|
||||
import Data.Abstract.Module
|
||||
import Data.Abstract.Name
|
||||
|
@ -20,7 +20,6 @@ module Data.Abstract.Heap
|
||||
, isHeapEmpty
|
||||
) where
|
||||
|
||||
import Data.Abstract.Live
|
||||
import Data.Abstract.ScopeGraph (EdgeLabel(..), Declaration(..), Path(..), Position(..), Slot(..), ScopeGraph, pathPosition, pathDeclaration, lookupScopePath)
|
||||
import qualified Data.Map.Strict as Map
|
||||
import qualified Data.IntMap as IntMap
|
||||
|
@ -6,7 +6,7 @@ module Data.Abstract.Value.Concrete
|
||||
, runValueErrorWith
|
||||
) where
|
||||
|
||||
import Control.Abstract.ScopeGraph (Allocator, ScopeError, lookupDeclarationScope)
|
||||
import Control.Abstract.ScopeGraph (Allocator, ScopeError)
|
||||
import Control.Abstract.Heap (scopeLookup)
|
||||
import qualified Control.Abstract as Abstract
|
||||
import Control.Abstract hiding (Boolean(..), Function(..), While(..))
|
||||
@ -14,7 +14,7 @@ import Control.Effect.Carrier
|
||||
import Control.Effect.Interpose
|
||||
import Control.Effect.Sum
|
||||
import Data.Abstract.BaseError
|
||||
import Data.Abstract.Evaluatable (UnspecializedError(..), ValueRef(..), declaredName, throwEvalError, EvalError(..), Declarations)
|
||||
import Data.Abstract.Evaluatable (UnspecializedError(..), ValueRef(..), EvalError(..), Declarations)
|
||||
import Data.Abstract.Environment (Bindings)
|
||||
import Data.Abstract.FreeVariables
|
||||
import Data.Abstract.Name
|
||||
|
@ -9,7 +9,6 @@ import Data.Fixed
|
||||
import Proto3.Suite.Class
|
||||
|
||||
import Control.Abstract hiding (Member, Void, Call)
|
||||
import Control.Abstract.ScopeGraph as ScopeGraph
|
||||
import Data.Abstract.Evaluatable as Abstract hiding (Member, Void)
|
||||
import Data.Abstract.Number (liftIntegralFrac, liftReal, liftedExponent, liftedFloorDiv)
|
||||
import Data.JSON.Fields
|
||||
|
@ -5,14 +5,11 @@ module Language.Go.Syntax where
|
||||
import Prologue
|
||||
|
||||
import Control.Abstract
|
||||
import qualified Data.Abstract.Heap as Heap
|
||||
import Control.Abstract.ScopeGraph hiding (Import)
|
||||
import Data.Abstract.BaseError
|
||||
import Data.Abstract.Evaluatable
|
||||
import Data.Abstract.Module
|
||||
import qualified Data.Abstract.Package as Package
|
||||
import Data.Abstract.Path
|
||||
import Data.Aeson hiding (object)
|
||||
import Data.JSON.Fields
|
||||
import qualified Data.Map as Map
|
||||
import Data.Semigroup.App
|
||||
@ -20,9 +17,6 @@ import Data.Semigroup.Foldable
|
||||
import qualified Data.Text as T
|
||||
import Diffing.Algorithm
|
||||
import Proto3.Suite.Class
|
||||
import Proto3.Suite
|
||||
import qualified Proto3.Wire.Encode as Encode
|
||||
import qualified Proto3.Wire.Decode as Decode
|
||||
import qualified Data.Abstract.ScopeGraph as ScopeGraph
|
||||
import Data.ImportPath
|
||||
import System.FilePath.Posix
|
||||
|
@ -23,7 +23,6 @@ import qualified Proto3.Wire.Decode as Decode
|
||||
import Control.Abstract.ScopeGraph hiding (Import)
|
||||
import Control.Abstract.Heap
|
||||
import qualified Data.Abstract.ScopeGraph as ScopeGraph
|
||||
import qualified Data.Abstract.Heap as Heap
|
||||
import qualified Data.Map.Strict as Map
|
||||
import qualified Data.List as List
|
||||
|
||||
|
@ -7,7 +7,6 @@ module Semantic.Analysis
|
||||
import Control.Abstract
|
||||
import Control.Abstract.ScopeGraph (runAllocator)
|
||||
import Control.Effect.Interpose
|
||||
import Data.Abstract.Environment as Env
|
||||
import Data.Abstract.Evaluatable
|
||||
import Data.Abstract.Module
|
||||
import Data.Abstract.ModuleTable as ModuleTable
|
||||
|
@ -32,7 +32,6 @@ import Analysis.Abstract.Caching.FlowInsensitive
|
||||
import Analysis.Abstract.Collecting
|
||||
import Analysis.Abstract.Graph as Graph
|
||||
import Control.Abstract
|
||||
import Control.Abstract.Heap as Heap
|
||||
import Control.Abstract.PythonPackage as PythonPackage
|
||||
import Data.Abstract.Address.Hole as Hole
|
||||
import Data.Abstract.Address.Located as Located
|
||||
|
Loading…
Reference in New Issue
Block a user