wz1000
wz1000
could we have some benchmarks on large files to see if this actually makes a difference?
Looks like a decent improvement. Could you add this benchmark to the ghcide-bench experiments please?
the `ghcRebuilds` number seems to indicate that we aren't editing the file in the benchmark passes. Could you ensure that each benchmark iteration also edits the file?
I would add more traces in Session.hs to figure out exactly where it gets stuck.
Yeah this might be a GHC bug. Can you print out `(hsc_unit_env hscEnv')` and `(hsc_all_home_unit_ids hscEnv')` please?
Also printing out the `closure_errs` might be enlightening. It seems likely that the home units are not closed for your project. This means that there are "home units"(units that you've...
> hsc_unit_env is an UnitEnv which does not have Show you want to use `pprUnitEnvGraph` from GHC.
Thanks @carbolymer, thanks to your reproducer I was able to diagnose the issue and put up a fix in #4109
> Is this related to #4046 ? I don't think so
I don't think we need to complicate the API by introducing side conditions - we just need to try evaluating dependencies in order. This means instead of maintaining a `KeySet`...