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

Better error if we can't find a HLS version for a given GHC #587

Closed
michaelpj opened this issue Apr 25, 2022 · 1 comment
Closed

Better error if we can't find a HLS version for a given GHC #587

michaelpj opened this issue Apr 25, 2022 · 1 comment

Comments

@michaelpj
Copy link
Contributor

At the moment we get

ERROR Internal Error: No HLS version was found for supporting GHC 9.2.2
  • "Internal Error" is scary
  • It's unclear why it wasn't found, maybe this is a bug? In fact it's because HLS doesn't support 9.2.2 and we don't have binaries for it, but that's quite non-obvious.
@michaelpj
Copy link
Contributor Author

Ideally we could say something like

ERROR: HLS does not support GHC 9.2.2 yet, see https://haskell-language-server.readthedocs.io/en/latest/supported-versions.html

@fendor fendor closed this as completed in c373cc2 Apr 25, 2022
fendor added a commit that referenced this issue Apr 25, 2022
Improve error message, fixes #587
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

No branches or pull requests

1 participant