mirror of
https://github.com/haskell/haskell-ide-engine.git
synced 2024-08-15 22:10:31 +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
|
||||
|
||||
-- Check for mismatching GHC versions
|
||||
-- Ignore hie.yaml parse errors. They get reported in ModuleCache.hs
|
||||
let parseErrorHandler (_ :: Yaml.ParseException) = return Nothing
|
||||
dummyCradleFile = (fromMaybe currentDir lspRootDir) </> "File.hs"
|
||||
cradleRes <- liftIO $ E.catch (Just <$> findLocalCradle dummyCradleFile) parseErrorHandler
|
||||
|
Loading…
Reference in New Issue
Block a user