Skip to content

Does formatting works for GHC 9.12.2? #4599

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

Open
soft-guy opened this issue May 26, 2025 · 3 comments
Open

Does formatting works for GHC 9.12.2? #4599

soft-guy opened this issue May 26, 2025 · 3 comments
Labels
status: needs triage type: support User support tickets, questions, help with setup etc.

Comments

@soft-guy
Copy link

Hello. I can't get formatting to work with GHC 9.12.2, even though the website says it’s fully supported. Is this my local issue? Thank you.

@soft-guy soft-guy added type: support User support tickets, questions, help with setup etc. status: needs triage labels May 26, 2025
@fendor
Copy link
Collaborator

fendor commented May 26, 2025

@soft-guy Thanks for the bug report! HLS 2.10.0.0 has incorrect documentation, see #4578. The HLS 2.11.0.0 release does have support for (I think?) all haskell formatters, but the 2.11.0.0 release isn't yet available in GHCup, but it should be a matter of days now.

@zlonast
Copy link

zlonast commented May 26, 2025

The HLS 2.11.0.0 release does have support for (I think?) all haskell formatters

HLS 2.10.0.0 does not support new stylish-haskell which have update for ghc 9.12 and 9.10

@fendor
Copy link
Collaborator

fendor commented May 26, 2025

HLS 2.10.0.0 does not support new stylish-haskell which have update for ghc 9.12 and 9.10

That's true!

HLS 2.10.0.0 has incorrect documentation, see #4578.

HLS 2.10.0.0 only has basic support for GHC 9.12.2

But the next release 2.11.0.0 does have full support. Note, 2.11.0.0 is not yet available in GHCup, but you can compile it yourself from source if you are eager to try:

ghcup compile hls -g 2.11.0.0 --ghc 9.12.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: needs triage type: support User support tickets, questions, help with setup etc.
Projects
None yet
Development

No branches or pull requests

3 participants