Closed
Description
Your environment
haskell-language-server 1.4
Which OS do you use: NixOS
Which lsp-client do you use: haskell-lsp in emacs
Describe your project (alternative: link to the project): https://github.com/shapr/hlsexamples/blob/main/src/Examples.hs#L14
Steps to reproduce
Insert the line biggest items = foldr1 max items -- the line above will show two hlint hints, "eta reduce" and "use maximum"
into a file, and attempt to apply any of the hlint hints.
If you move the comment to a different line, the hlint hints apply with no problems.
Expected behaviour
The hints should be applied.
Actual behaviour
The hints are not applied.