Eval-plugin: Evaluate -- >>>
does not work when there is one or more newlines at end of the file
#3500
Labels
component: hls-eval-plugin
type: bug
Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..
Your environment
Which OS do you use? Tested on Windows, Ubuntu and MacOS
Which version of GHC do you use and how did you install it?
Which LSP client (editor/plugin) do you use?
Haskell v2.2.2
https://marketplace.visualstudio.com/items?itemName=haskell.haskell
Which version of HLS do you use and how did you install it?
see above
Have you configured HLS in any way (especially: a
hie.yaml
file)?no
Steps to reproduce
Eval-plugin: Evaluate
-- >>>
does not work (in some cases) when there is one or more newlines at end of the file. Also, only if the-- >>>
is AFTER the function definition. It works when its beforeExpected behaviour
Evaluate does work with newline at end
Actual behaviour
Evaluate does not work with newline at end
Debug information
The text was updated successfully, but these errors were encountered: