Description
Your environment
Which OS do you use?
Nixos unstable
Which version of GHC do you use and how did you install it?
9.2.4 installed via nix
How is your project built (alternative: link to the project)?
cabal
https://github.com/turion/essence-of-live-coding
Which LSP client (editor/plugin) do you use?
vscodium + Haskell 2.2.2
Which version of HLS do you use and how did you install it?
1.9.0.0 via nix
Have you configured HLS in any way (especially: a hie.yaml
file)?
The editor plugin is configured to use fourmolu
Steps to reproduce
Write a function with quantified constraints in the type signature
A constraint is missing, open menu and ask to add the constraint
The constraint is added, but the syntax of the constraints is broken: Some important brackets are removed.
Expected behaviour
The missing constraint is added without breaking the syntax
Actual behaviour
The syntax is broken, brackets are removed in places where nothing should have changed