Skip to content

Commit

Permalink
rebase fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
wz1000 committed Feb 12, 2021
1 parent 944794e commit c608a0f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
14 changes: 3 additions & 11 deletions plugins/hls-eval-plugin/src/Ide/Plugin/Eval/CodeLens.hs
Original file line number Diff line number Diff line change
Expand Up @@ -25,25 +25,20 @@ module Ide.Plugin.Eval.CodeLens (
evalCommand,
) where

import Data.Aeson (toJSON)
import Control.Applicative (Alternative ((<|>)))
import Control.Arrow (second, (>>>))
import qualified Control.Exception as E
import Control.Monad
( void,
when, guard
when, guard,
join
)
import Control.Monad.IO.Class (MonadIO (liftIO))
import Control.Monad.Trans.Except
( ExceptT (..),
)
import Data.Aeson
( FromJSON,
ToJSON,
toJSON,
)
import Data.Char (isSpace)
import Data.Either (isRight)
import qualified Data.HashMap.Strict as HashMap
import Data.List
(dropWhileEnd,
Expand Down Expand Up @@ -104,13 +99,11 @@ import GHC
load,
runDecls,
setContext,
setInteractiveDynFlags,
setLogAction,
setSessionDynFlags,
setTargets,
typeKind,
)
import GHC.Generics (Generic)
import qualified GHC.LanguageExtensions.Type as LangExt
import GhcPlugins
( DynFlags (..),
Expand Down Expand Up @@ -142,8 +135,7 @@ import Ide.Plugin.Eval.Code
testRanges,
)
import Ide.Plugin.Eval.GHC
( addExtension,
addImport,
( addImport,
addPackages,
hasPackage,
isExpr,
Expand Down
2 changes: 1 addition & 1 deletion plugins/hls-eval-plugin/src/Ide/Plugin/Eval/Types.hs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ import Data.String (IsString (..))
import Development.IDE (Range)
import GHC.Generics (Generic)
import qualified Text.Megaparsec as P
import Language.Haskell.LSP.Types (TextDocumentIdentifier)
import Language.LSP.Types (TextDocumentIdentifier)

-- | A thing with a location attached.
data Located l a = Located {location :: l, located :: a}
Expand Down

0 comments on commit c608a0f

Please sign in to comment.