mirror of
https://github.com/haskell/haskell-ide-engine.git
synced 2024-09-11 11:05:30 +03:00
Add a comment
This commit is contained in:
parent
d30d0583a8
commit
32a673915f
@ -425,6 +425,7 @@ reactor inp diagIn = do
|
|||||||
currentDir <- liftIO getCurrentDirectory
|
currentDir <- liftIO getCurrentDirectory
|
||||||
|
|
||||||
-- Check for mismatching GHC versions
|
-- Check for mismatching GHC versions
|
||||||
|
-- Ignore hie.yaml parse errors. They get reported in ModuleCache.hs
|
||||||
let parseErrorHandler (_ :: Yaml.ParseException) = return Nothing
|
let parseErrorHandler (_ :: Yaml.ParseException) = return Nothing
|
||||||
dummyCradleFile = (fromMaybe currentDir lspRootDir) </> "File.hs"
|
dummyCradleFile = (fromMaybe currentDir lspRootDir) </> "File.hs"
|
||||||
cradleRes <- liftIO $ E.catch (Just <$> findLocalCradle dummyCradleFile) parseErrorHandler
|
cradleRes <- liftIO $ E.catch (Just <$> findLocalCradle dummyCradleFile) parseErrorHandler
|
||||||
|
Loading…
Reference in New Issue
Block a user