-
-
Notifications
You must be signed in to change notification settings - Fork 390
Refactoring type constructor of data incorrectly renames the record fields too #4083
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I'm trying to understand how to give you the HLS logs directly, rather than those represented by YCM. This should be the HLS log.... no?
|
Thanks for the bug report! |
@jhrcek FWIW, I think this is relatively well-known and a bug in hiedb. |
perhaps @fendor is referring to this: also looks like this has been logged before: |
Closing in favour of #2915 |
Your environment
Which OS do you use? ArchLinux (up-to-date)
Which version of GHC do you use and how did you install it? 9.4.8, via GHCup
How is your project built (alternative: link to the project)? Irrelevant, I just open a new file
Which LSP client (editor/plugin) do you use? Vim(terminal) + YCM
Which version of HLS do you use and how did you install it? 2.5.0.0, via GHCup
Have you configured HLS in any way (especially: a
hie.yaml
file)? ... I think I haven't...Steps to reproduce
data Foo = Bar { a :: !Int , b :: !Int }
Bar
to beBaz
Expected behaviour
The code should be become
Actual behaviour
But it becomes
Debug information
Is this the relevant piece?
The text was updated successfully, but these errors were encountered: