Switch when using cabal-dev case. Bugfix of cabal-dev case.

This commit is contained in:
HIBINO Kei
2011-11-14 19:20:02 +09:00
parent 21441da080
commit 748c57f0c1
3 changed files with 8 additions and 9 deletions

View File

@@ -1,7 +1,6 @@
module Check (checkSyntax) where
import Cabal
import CabalDev (modifyOptions)
import Control.Applicative
import CoreMonad
import ErrMsg
@@ -14,8 +13,7 @@ import Types
checkSyntax :: Options -> String -> IO String
checkSyntax opt file = do
opt' <- modifyOptions opt
unlines <$> check opt' file
unlines <$> check opt file
----------------------------------------------------------------