Skip to content

Use GHC-9-12 and Stackage Nightly - #328

Open
BinderDavid wants to merge 6 commits into
granule-project:mainfrom
BinderDavid:use-ghc-9.12
Open

Use GHC-9-12 and Stackage Nightly#328
BinderDavid wants to merge 6 commits into
granule-project:mainfrom
BinderDavid:use-ghc-9.12

Conversation

@BinderDavid

@BinderDavid BinderDavid commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Checking to see if we can easily switch to using GHC 9.12.

The main changes are:

  • Use a fork of sbv that is feature-equivalent to sbv-9.2 but compiles with modern GHCs
  • Control.Monad.State doesnt re-export Control.Monad anymore.
  • Bifunctor has a quantified superclass constraint and always requires a Functor instance now.
  • Data.Text exports a show function that leads to ambiguity.
  • The base library warns on partial functions head and tail

@BinderDavid

BinderDavid commented Aug 11, 2026

Copy link
Copy Markdown
Contributor Author

Failling testcase seems to be this one:

frontend/tests/cases/negative/simple/signature-equation-name-mismatch.gr:                     FAIL
      Contents of frontend/tests/cases/negative/simple/signature-equation-name-mismatch.gr.output (<) and actual output (>) differ:
      
      
      
      Use -p '/frontend\/tests\/cases\/negative\/simple\/signature-equation-name-mismatch.gr/' to rerun this test only.

@BinderDavid
BinderDavid requested review from dorchard and a lite review from Copilot and removed request for Copilot August 12, 2026 12:25
@dorchard

dorchard commented Aug 12, 2026

Copy link
Copy Markdown
Member

Okay I have just pushed a fix which gives 30s for the synthesis examples (and which removes a hard coded 10s constant for synthesis, parameterising it using the usual timeout configuration instead). This now makes things all pass for me locally.

@BinderDavid

Copy link
Copy Markdown
Contributor Author

@dorchard I think the either test is failing in CI again, probably due to a timeout on the slower GitHub actions runner?

@dorchard

Copy link
Copy Markdown
Member

Hm yes... it seems to be a bit sensitive and sometimes timeouts depending on the machine, but also per run... so not entirely sure what to do to get it into a consistent state between CI and local runs... trying to mark it is as expected fail again for now.

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.

2 participants