-
Notifications
You must be signed in to change notification settings - Fork 81
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
GHC 9.4 #885
GHC 9.4 #885
Conversation
eb9139e
to
57b0f6f
Compare
4a56eb6
to
0a3da23
Compare
@amesgen Hi again :) Can't you just remove EDIT: Oh, seems like it is needed
|
Hi @ysangkok! Yeah, we need the |
+ } | ||
+ | ||
|
||
AST of input and AST of formatted code differ. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is due to us (knowningly, see #725) not supporting DatatypeContexts
, but it would be trivial to add.
All other new expected-failures
seem to be known comment-related idempotency bugs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job, as usual! I think that the main prerequisite for merging it is still the availability of GHC 9.4.1 in haskell.nix
. Do you know if there have been any updates regarding that?
0d0c682
to
4863f5f
Compare
Is this still blocked on |
This is slightly confusing: do you mean to suggest that HLS is blocked on Fourmolu, but somehow not on Ormolu directly? It seems to me that Fourmolu is mostly irrelevant to the issue at hand (although we are certainly looking forward to this PR being merged, and grateful as ever for the effort!). |
The Fourmolu maintainers don't want to incorporate+release this patch to add GHC 9.4 support until Ormolu does. HLS can't support Fourmolu or Ormolu on GHC 9.4 until they can be built on GHC 9.4. Fourmolu is directly relevant for me (we use it to format our Haskell code at Mercury) but only related to this issue as an example of downstream work on GHC 9.4 that's blocked (directly or indirectly) on this PR being merged. Either way, I would like to reiterate that I'm extremely grateful to @amesgen for putting this patch together & for all the maintainers and reviewers who are working to merge it. If there's anything I can do to accelerate these efforts, please let me know. |
4863f5f
to
2baff72
Compare
Soft blocked by input-output-hk/haskell.nix#1595 for GHC 9.4 on CI.Postponed, can happen laterOverview:
ghc-lib-parser-9.4.*
. This includes:\cases
viaLambdaCase
OPAQUE
pragmas(# | #)
.extract-hackage-info
.HsToken
s, which we ignore.ghc
library is rebuilt due to changed flags (which takes quite some time).