ghcide/src-ghc86/Development/IDE/GHC
wz1000 993cfddc79
Backport HIE files to GHC 8.6 (#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.
2020-07-16 11:26:58 +02:00
..
HieAst.hs Backport HIE files to GHC 8.6 (#689) 2020-07-16 11:26:58 +02:00
HieBin.hs Backport HIE files to GHC 8.6 (#689) 2020-07-16 11:26:58 +02:00
HieDebug.hs Backport HIE files to GHC 8.6 (#689) 2020-07-16 11:26:58 +02:00
HieTypes.hs Backport HIE files to GHC 8.6 (#689) 2020-07-16 11:26:58 +02:00
HieUtils.hs Backport HIE files to GHC 8.6 (#689) 2020-07-16 11:26:58 +02:00