-
-
Notifications
You must be signed in to change notification settings - Fork 389
Bump Ormolu and Fourmolu to GHC-9.2-compatible versions #2579
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
Conversation
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.
many thanks for updating both plugins
looks good to me, @pepeiborra what do you think about merge to master and then update the ghc-9.2.1 branch?
We could also merge the 9.2 branch (which it seems like we're about to do) and do this right afterwards. |
Or merging this to ghc 9.2 branch is also an option |
I would go for merging 9.2.1 first, there is lot of work already invested there and it almost has a working executable as is |
Yeah, I considered all of those options. I did it this way because it looked like #2503 was going to be merged imminently. |
tests are disabled for ghc-9.2.1 but should be executed, no? |
plugins were disabled in the cabal-ghc921.project so they were no being even built, it seems ormolu does not support ghc-lib-parser-9.2.1.*:
|
sorry i am starting to wonder if the goal of the pr was built both with ghc-9.2 or only bump versions to an intermmediate version 🤔 |
After some cabal.project tweaks we reach a build error:
|
There was just a bad merge from |
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.
Nice work!
Popping |
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.
thanks!
@@ -288,7 +288,7 @@ common floskell | |||
cpp-options: -Dfloskell | |||
|
|||
common fourmolu | |||
if flag(fourmolu) && (impl(ghc < 9.2.1) || flag(ignore-plugins-ghc-bounds)) | |||
if flag(fourmolu) && flag(ignore-plugins-ghc-bounds) |
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.
Related: #2503.
I haven't tested the Stack or Nix builds.