Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Backport HIE files to GHC 8.6 (haskell/ghcide#689)
* Backport HIE files support to 8.6 * Use hie files as source of truth for name source spans. Since we started reusing `.hi` files, this exposes a bug where definitions aren't available since a bad source span from the `.hi` file gets put into the NameCache. We rectify by ensuring the span in the NameCache always matches the one from the `.hie` file. This has surfaced because an interaction between the commit which uses `.hi` instead of retypechecking and the change to use the shared global NameCache to read `.hie` files.
- Loading branch information