Skip to content

Commit 67209fb

Browse files
committed
Workaround for HLS gettings stuck haskell#4046
1 parent b377ab3 commit 67209fb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ghcide/session-loader/Development/IDE/Session.hs

+3-1
Original file line numberDiff line numberDiff line change
@@ -880,7 +880,9 @@ newComponentCache recorder exts cradlePath _cfp hsc_env old_cis new_cis = do
880880
getSession
881881
#endif
882882
henv <- createHscEnvEq thisEnv (zip uids dfs)
883-
let targetEnv = (if isBad ci then multi_errs else [], Just henv)
883+
-- TODO: multi_errs seem to make HLS stuck
884+
-- let targetEnv = (if isBad ci then multi_errs else [], Just henv)
885+
let targetEnv = ([], Just henv)
884886
targetDepends = componentDependencyInfo ci
885887
res = ( targetEnv, targetDepends)
886888
logWith recorder Debug $ LogNewComponentCache res

0 commit comments

Comments
 (0)