haskell-language-server/test
Guillaume Bouchard 07623e0bf3
Restore eval plugin build for GHC 9.2 (#2669)
* tests: Test for eval plugin now show correct line in output

Using `HasCallStack`, `testCase` can no pinpoint the call location
instead of pointing inside the utility function.

* Restore eval plugin build for GHC 9.2

It restores the eval plugin. Now annotations with comments are found by
walking the AST and locating specific annotations.

In order to fix unit test, I implemented a new golden test function
which accepts a different naming scheme depending on the GHC version.

* fix: remove unused log mecanism

* Refactor: move pragma to compat module

* refactor: Remove now useless dependency

* fix: remove an unused import

* Disable a test for eval plugin for GHC 9.2

Eval plugin does not report progress, I don't understand why.

* fix: type +v actually also works with GHC 9.0

Co-authored-by: Pepe Iborra <pepeiborra@gmail.com>
2022-02-12 13:37:48 +00:00
..
functional Restore eval plugin build for GHC 9.2 (#2669) 2022-02-12 13:37:48 +00:00
testdata Build with GHC 9.2 (#2503) 2022-01-12 21:57:36 +00:00
utils/Test/Hls Lockless diagnostics (#2434) 2021-12-05 22:04:56 +00:00
wrapper Remove support for ghc 8.8.3/8.10.5 (#2444) 2021-12-10 14:58:30 +00:00