mirror of
https://github.com/haskell/ghcide.git
synced 2024-09-11 05:36:09 +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> |
||
---|---|---|
.. | ||
Arguments.hs | ||
Main.hs | ||
Utils.hs |