We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c225c64 commit 50a50b8Copy full SHA for 50a50b8
ghcide/src/Development/IDE/Core/Rules.hs
@@ -221,6 +221,7 @@ getParsedModuleRule =
221
-- Parse again (if necessary) to capture Haddock parse errors
222
-- We no longer need to parse again if GHC version is above 9.0. https://github.com/haskell/haskell-language-server/issues/1892
223
res@(_,pmod) <- if Compat.ghcVersion >= Compat.GHC90 || gopt Opt_Haddock dflags
224
+ res@(_,pmod) <- if gopt Opt_Haddock dflags
225
then
226
liftIO $ (fmap.fmap.fmap) reset_ms mainParse
227
else do
0 commit comments