Fix tests, move option records to Types module

This commit is contained in:
Nikolay Yakimov
2015-12-06 00:56:19 +03:00
parent ad16b739eb
commit b2fb54a356
8 changed files with 30 additions and 23 deletions

View File

@@ -4,6 +4,7 @@ import Exception (ghandle)
import Control.Exception (SomeException(..))
import Language.Haskell.GhcMod.Logger (checkErrorPrefix)
import Language.Haskell.GhcMod.Convert
import Language.Haskell.GhcMod.Types
import Language.Haskell.GhcMod.Monad
import Language.Haskell.HLint (hlint)
@@ -11,8 +12,6 @@ import Language.Haskell.GhcMod.Utils (withMappedFile)
import Data.List (stripPrefix)
data LintOpts = LintOpts { optLintHlintOpts :: [String] }
-- | Checking syntax of a target file using hlint.
-- Warnings and errors are returned.
lint :: IOish m