Closed
Description
When testing HLS 0.6.0 hlint application for code:
foo :: p -> p
foo i = id i
I get in the plugin logs:
2020-11-12 10:39:52.865812098 [ThreadId 9836] - applyHint:apply=[("/home/test-project/src/Foo.hs:5:1-12: Warning: Eta reduce\nFound:\n foo i = id i\nPerhaps:\n foo = id\n",[Replace {rtype = Decl, pos = SrcSpan {startLine = 5, startCol = 1, endLine = 5, endCol = 13}, subts = [("body",SrcSpan {startLine = 5, startCol = 9, endLine = 5, endCol = 11})], orig = "foo = body"}])]
2020-11-12 10:39:52.867264813 [ThreadId 9839] - finish: hlint (took 0.00s)
/opt/ghc/8.8.3/lib/ghc-8.8.3/settings: openFile: does not exist (No such file or directory)
[Error - 10:39:52 AM] Request workspace/executeCommand failed.
Message: ExitFailure 1
Code: -32603
Hlint didn't get applied, the popup "Applying hint: ..." remains open.
Plugin 1.2.0
GHC 8.8.3
HLS 0.6.0