-
-
Notifications
You must be signed in to change notification settings - Fork 389
Exception in plugin PluginId "ghcide-code-actions-imports-exports" while processing SMethod_TextDocumentCodeAction #4175
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
|
I can't reproduce this. What GHC version are you working with?
Isn't it this file / error? haskell-language-server/plugins/hls-refactor-plugin/src/Development/IDE/Plugin/CodeAction.hs Line 957 in 97aac54
|
ghc 9.8.2, right, that is the file |
Ok, managed to reproduce the error. Full error from which suggestions are being extracted:
The regex extracts the following 2 items which go to the srcspan="/home/jhrcek/Devel/github.com/haskell/haskell-language-server/hls-test-utils/src/Test/Hls.hs:83:1-62" The issue seems to be caused by my fix which made the regex stricter, but now is unable to deal with multiline src spans. EDIT: actually this is a different code path unrelated to myfix, but I'll look at it anyway.. |
I open
hls-test-utils/src/Test/Hls.hs
, and try to useDataColumn
. It throw error condition:the logs:
It should suggest to import
LoggingColumn(DataColumn)
The text was updated successfully, but these errors were encountered: