-
-
Notifications
You must be signed in to change notification settings - Fork 378
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
Code action for new GHC module structure #274
Comments
@wz1000 thanks, but that is to some extent just kicking the can down the road. I would rather reverse that mapping, and migrate the old names to the new in source. |
I think it would be simpler to use the compat package and reverse the mapping when we drop support for ghc 8.x Otherwise we will have to maintain both versions. |
we still think that we should add this code action? |
I see it is still moving around on master. But I do think it may be useful, once a GHC embodying these changes comes out. |
(2 years down the line): GHC still shifts things around. HLS now uses an internal |
I think we've settled on doing this with compat modules, and adding code actions is a bit heavyweight, so I'm going to close this for now. |
GHC 9.0 moves modules around, so we have to do things like
Perhaps we could make a code action for this, when running GHC 9.0. Probably just to change the single line, rather than a whole CPP thing.
The text was updated successfully, but these errors were encountered: