-
-
Notifications
You must be signed in to change notification settings - Fork 389
Incomplete pattern warnings are not highlighted #96
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
Comments
The root cause is https://github.com/digital-asset/ghcide/issues/107 I suggest this deserves an entry on the HLS FAQ, as it does keep coming up. |
Until such time as we fix it, somehow. I think via managing scheduling. |
As commented in #96 the ghcide issue is https://github.com/haskell/ghcide/issues/107 and it was closed by haskell/ghcide#836 son only left bump the ghcide submodule to include it: #463 |
It will be close when #526 is resolved |
We are using the ghcide version with the fix, @liftM feel free to reopen if it is not the case (not that you should use master until 0.5 version is not released) |
When I compile code with an incomplete pattern using
-fwarn-incomplete-patterns
, I see the incomplete pattern warning in my GHC output. I do not see a corresponding highlight for the incomplete pattern in the source code. I discovered this in the VS Code extension, although this appears to also occur in the Emacs extension (so I think it's an LSP rather than extension bug).The text was updated successfully, but these errors were encountered: