Uses HscNothing and falls back to HscInterpreted if necessary (#205)

Two Test case are fails but it is not fatal.
This commit is contained in:
Kazu Yamamoto
2014-07-15 17:20:35 +09:00
parent 25730e2a6c
commit 49284a64be
4 changed files with 62 additions and 19 deletions

View File

@@ -34,8 +34,7 @@ check :: IOish m
=> [FilePath] -- ^ The target files.
-> GhcModT m (Either String String)
check fileNames = do
withLogger setAllWaringFlags $ do
setTargetFiles fileNames
withLogger setAllWaringFlags $ setTargetFiles fileNames
----------------------------------------------------------------