This repository was archived by the owner on Oct 7, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ import Haskell.Ide.Engine.PluginUtils
15
15
import Haskell.Ide.Engine.SemanticTypes
16
16
import qualified Language.Haskell.GhcMod as GM
17
17
import qualified Language.Haskell.GhcMod.Monad as GM
18
+ import qualified Language.Haskell.GhcMod.Types as GM
18
19
import System.FilePath
19
20
import System.Directory
20
21
import qualified Exception as G
@@ -104,7 +105,7 @@ lintCmd = CmdSync $ \_ctxs req -> do
104
105
case getParams (IdFile " file" :& RNil ) req of
105
106
Left err -> return err
106
107
Right (ParamFile fileName :& RNil ) -> do
107
- fmap T. pack <$> runGhcModCommand fileName GM. lint
108
+ fmap T. pack <$> runGhcModCommand fileName ( GM. lint GM. defaultLintOpts)
108
109
Right _ -> return $ IdeResponseError (IdeError InternalError
109
110
" GhcModPlugin.lintCmd: ghc’s exhaustiveness checker is broken" Nothing )
110
111
Original file line number Diff line number Diff line change @@ -10,7 +10,8 @@ packages:
10
10
# - ../ghci-ng
11
11
- location :
12
12
git : https://github.com/kazu-yamamoto/ghc-mod.git
13
- commit : bff86be69f556f80a8dcd9dd42774ab77cb00eba
13
+ commit : b9bd4ebf77b22d2d9061d647d7799ddcc7c51228
14
+ # commit: bff86be69f556f80a8dcd9dd42774ab77cb00eba
14
15
extra-dep : true
15
16
extra-deps :
16
17
- HaRe-0.8.2.1
You can’t perform that action at this time.
0 commit comments