Renaming a record data constructor also renames record fields #4358
Labels
status: needs triage
type: bug
Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..
Your environment
Which OS do you use? Arch Linux
Which version of GHC do you use and how did you install it? GHC 9.4.7 via stack
How is your project built (alternative: link to the project)? stack (https://github.com/Innf107/vega)
Which LSP client (editor/plugin) do you use?: vscode-haskell
Which version of HLS do you use and how did you install it? 2.4.0.0, automatically installed by vscode-haskell
Have you configured HLS in any way (especially: a
hie.yaml
file)? noSteps to reproduce
Define a record and try to rename the constructor like this: https://www.youtube.com/watch?v=VO_1D_cThv8
I tried to reproduce this with a more recent HLS version with plain GHC or cabal but I couldn't get that one to support renaming anything at all. Pressing enter after renaming would just not do anything and not print anything in the logs.
Debug information
The logs include
when I try to rename the identifier
The text was updated successfully, but these errors were encountered: