Skip to content
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.8 support #3727

Merged
merged 3 commits into from
Oct 10, 2023
Merged

GHC 9.8 support #3727

merged 3 commits into from
Oct 10, 2023

Conversation

wz1000
Copy link
Collaborator

@wz1000 wz1000 commented Jul 24, 2023

Requires head.hackage to build

Support for ghcide + non-exactprint plugins.

@wz1000
Copy link
Collaborator Author

wz1000 commented Oct 5, 2023

All non exactprint plugins work and tests pass locally. I've added a CI job to test against 9.8-rc1.

@wz1000 wz1000 force-pushed the wip/ghc-9.8 branch 6 times, most recently from 366ecb1 to 6aa2a66 Compare October 6, 2023 08:37
Copy link
Collaborator

@michaelpj michaelpj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks reasonable. Maybe @joyfulmantis as the CPP sherrif wants to take a look at the CPP.

deepseq,

if impl(ghc >= 9.7)
repository head.hackage.ghc.haskell.org
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess we can't really avoid this at the moment? I'm unsure how I feel about the prospect of us e.g. releasing binaries based on using packages from head.hackage 🤔 maybe it's fine

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No. I could use git dependencies instead by pushing head.hackage patches to forks, but I don't think it earns us much.

26021a13b401500c8eb2761ca95c61f2d625bfef951b939a8124ed12ecf07329
7541f32a4ccca4f97aea3b22f5e593ba2c0267546016b992dfadcd2fe944e55d

active-repositories: hackage.haskell.org, head.hackage.ghc.haskell.org
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you don't need this

ghcide/src/Development/IDE/Core/Compile.hs Show resolved Hide resolved
ghcide/src/Development/IDE/Core/Compile.hs Show resolved Hide resolved
ghcide/src/Development/IDE/Core/Compile.hs Outdated Show resolved Hide resolved
ghcide/src/Development/IDE/GHC/Compat/Core.hs Show resolved Hide resolved
ghcide/test/exe/CompletionTests.hs Show resolved Hide resolved
@michaelpj
Copy link
Collaborator

Incidentally, can we delete the allow-newers for older GHC versions now?

Copy link
Collaborator

@fendor fendor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, modulo the comments found by michael.

@wz1000 wz1000 force-pushed the wip/ghc-9.8 branch 2 times, most recently from 6d3635c to 6d22882 Compare October 9, 2023 11:49
@wz1000 wz1000 force-pushed the wip/ghc-9.8 branch 3 times, most recently from 2af067b to 10549ff Compare October 10, 2023 04:03
@wz1000 wz1000 added the merge me Label to trigger pull request merge label Oct 10, 2023
@wz1000 wz1000 changed the title WIP: GHC 9.8 support GHC 9.8 support Oct 10, 2023
@mergify mergify bot merged commit 5580ffc into master Oct 10, 2023
44 of 48 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge me Label to trigger pull request merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants