-
-
Notifications
You must be signed in to change notification settings - Fork 370
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
HLS 2.5.0.0 generates Stan? related error #3885
Comments
Hi, thank you for your bug report! Pinging @0rphee as the maintainer of the stan plugin. |
I can reproduce on the HLS codebase itself. I will make a release for VSCode so that you can disable the stan plugin and silence this error. |
Thank you very much, that spares me from the work of generating a minimal project to reproduce the error |
The latest vscode-haskell 2.4.2 should disable the stan plugin by default. Can you give it a try? |
Yes, thanks, it is working now. And as soon as I enable Stan in the extension's config, the error appears. |
Keeping this open since this is a real issue we have to fix, but we have a work around :) |
This is an issue with the stan compatibility layer for =<9.4. |
@fendor do you happen to remember on which file, or component/package you used it? I cannot reproduce. |
@0rphee Make sure to enable the plugin in vscode, and then ghcide/.../Session.hs triggered the error at the very top after some time. |
There seem to be some cases in which SourceInfo doesn't exist, and those led to run time crashes. See, for example * kowainik#541 * haskell/haskell-language-server#3885 Fixes: kowainik#541
There seem to be some cases in which SourceInfo doesn't exist, and those led to run time crashes. See, for example * #541 * haskell/haskell-language-server#3885 Fixes: #541
) Fixes: #3885 Co-authored-by: Michael Peyton Jones <[email protected]>
Your environment
Which CPU do you use?
Which OS do you use?
Which version of GHC do you use and how did you install it?
How is your project built (alternative: link to the project)?
Which LSP client (editor/plugin) do you use?
Which version of HLS do you use and how did you install it?
Have you configured HLS in any way (especially: a
hie.yaml
file)?hie.yaml
- HLS 2.4.0.0 is working with the samehie.yaml
.Steps to reproduce
Expected behaviour
Actual behaviour
Some Haskell source files - not all in the same subdirectory and not all files of a subdirectory - generate a HLS error.
Debug information
I do not see any indication of errors in the "Output" pane of "Haskell" in VS Code.
The text was updated successfully, but these errors were encountered: