mirror of
https://github.com/haskell/ghcide.git
synced 2024-12-02 08:53:07 +03:00
f32f666d2e
* Use global NameCache for reading HIE files Co-authored-by: Matthew Pickering <matthewtpickering@gmail.com> * ignore hlint * redundant imports * 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. * Add test for missing definitions Co-authored-by: Matthew Pickering <matthewtpickering@gmail.com> |
||
---|---|---|
.. | ||
cabal/Development/IDE/Test | ||
data | ||
exe | ||
manual/lhs | ||
preprocessor | ||
src/Development/IDE |