Skip to content

Commit 1170a7c

Browse files
committed
Try workaround HLS getting stuck
haskell#4046
1 parent 6e0b342 commit 1170a7c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -882,7 +882,9 @@ newComponentCache recorder exts cradlePath _cfp hsc_env old_cis new_cis = do
882882
getSession
883883
#endif
884884
henv <- createHscEnvEq thisEnv (zip uids dfs)
885-
let targetEnv = (if isBad ci then multi_errs else [], Just henv)
885+
-- TODO: multi_errs seem to make HLS stuck
886+
-- let targetEnv = (if isBad ci then multi_errs else [], Just henv)
887+
let targetEnv = ([], Just henv)
886888
targetDepends = componentDependencyInfo ci
887889
res = ( targetEnv, targetDepends)
888890
logWith recorder Debug $ LogNewComponentCache res

0 commit comments

Comments
 (0)