-
-
Notifications
You must be signed in to change notification settings - Fork 389
Support for GHC-9.12.x? #4499
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
For ghc-exactprint a version is compatible with only one major version of GHC so 1.10.0.0 only works with GHC 9.10.x |
There will not be binaries for 9.12.1, as the GHC 9.12.1 release is broken. However, we are actively working on 9.12.2 support as soon as it releases. |
@fendor Can you please clarify, how is GHC 9.12.1 release "broken"? |
In general you can find the list of issues via GHC status page. |
@sohang3112 I am referring to the issue https://gitlab.haskell.org/ghc/ghc/-/issues/25653. There was also this announcement: https://discourse.haskell.org/t/psa-correctness-issue-in-ghc-9-12/11204 |
GHC 9.12.2 has been released and added to ghcup |
I’m personally very excited about this release! I can imagine that semantic tokens will be much faster now that version 9.12.2 is equipped with additional entity information for each token. We no longer need to ad-hoc search for them through various built artifacts. Preparing to update 9.12.2.
|
I don't think that it is the job of a language server to decide what version of a compiler users should use. There are valid reasons to use experimental or even broken versions of GHC -- for testing, early integration, or development of language tools and infrastructure. There are programming languages for which language servers are available even for pre-releases of compilers. I think, the Haskell ecosystem would benefit if projects that form part of the basic language infrastructure would be available as soon as possible for new (or even upcoming) versions of GHC. |
We generally try to do exactly that, to have the core of HLS running the moment a GHC version is released. Otherwise, we agree with you, and we try to have support for new GHC ASAP. |
@fendor thanks for the response. I should also mention that I am very glad that HLS exists and want to thank everybody involved for their work. |
Will be closed by #4527. The next HLS release will have support for GHC 9.12.2 |
Closed by #4527 |
Is your enhancement request related to a problem? Please describe.
GHC-9.12.1 has been around for a while, and 9.12.2 is on the horizon. It would be nice to have HLS supporting these.
Describe the solution you'd like
Added support for GHC-9.12.x. Current master doesn't seem to work because of (at least?) two dependent packages failing to compile under 9.12.1:
Describe alternatives you've considered
There's no alternative, except for downgrading GHC to 9.10.1. Which is not that attractive for those living on the "bleeding edge". ;-)
The text was updated successfully, but these errors were encountered: