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

Add support for GHC 9. #2

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from
Draft

Add support for GHC 9. #2

wants to merge 6 commits into from

Conversation

sellout
Copy link
Member

@sellout sellout commented Mar 14, 2022

No description provided.

sellout added 6 commits May 15, 2022 22:42
This moves tests that depend on the plugin from concat-examples to
concat-plugin. The one shortcoming, IMO, is that it requries duplicating
the SMT flag.
Mostly trivial changes, but we now get the `DynFlags` from `installCoreToDos`
rather than each application of `BuiltinRule.ru_try`.

This continues to work just fine for GHC 8.10, but doesn't quite work on GHC 9.0
for some reason. I don't think it's the `DynFlags` changes (as that's applied to
all GHC versions). But running on GHC 9.0 always fails with "isDeadEndId
cccV" (this is slightly stricter than `isBottomingId` in earlier GHCs, but
removing that `pprPanic` still fails, just with "Oops: toCcc'' called" instead).

Fixes compiling-to-categories#98.
Doesn't cover the plugin yet.
sellout pushed a commit that referenced this pull request May 16, 2022
This time, re-add it for GD to unbreak compile.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant