commercialhaskell / hi-file-parser

Other
4 stars 4 forks source link

Add support for newer GHCs #2

Closed hsyl20 closed 3 years ago

hsyl20 commented 3 years ago

This patch adds support for GHC 8.10 and 9.0.1 (8.8 already worked).

I've added some tests for 8.8, 8.10 and 9.0. By the way I've added them manually because the nix-shell script didn't work: the hash for nixpkgs is wrong; if we set it right it doesn't contain newer compilers; if we update it it doesn't contain older compilers. I've used ghcup instead.

I've added some tracing which is disabled by default but I've left it as it has been very useful and could be useful in the future.

snoyberg commented 3 years ago

Thank you!