Closed
Description
I open hls-test-utils/src/Test/Hls.hs
, and try to use DataColumn
. It throw error condition:
Error condition, please check your setup and/or the [issue tracker](https://github.com/haskell/haskell-language-server/issues):
ghcide-code-actions-imports-exports: Internal Error: Exception in plugin PluginId "ghcide-code-actions-imports-exports" while processing SMethod_TextDocumentCodeAction: bug in srcspan parser
CallStack (from HasCallStack):
error, called at plugins/hls-refactor-plugin/src/Development/IDE/Plugin/CodeAction.hs:958:22 in hskll-lngg-srvr-2.7.0.0-dbac2051:Development.IDE.Plugin.CodeAction
the logs:
024-04-14T11:54:36.631150Z | Error | ghcide-code-actions-imports-exports: Internal Error: Exception in plugin PluginId "ghcide-code-actions-imports-exports" while processing SMethod_TextDocumentCodeAction: bug in srcspan parser
CallStack (from HasCallStack):
error, called at plugins/hls-refactor-plugin/src/Development/IDE/Plugin/CodeAction.hs:957:22 in hskll-lngg-srvr-2.7.0.0-227ab907:Development.IDE.Plugin.CodeAction
2024-04-14T11:54:37.526240Z | Error | ghcide-code-actions-imports-exports: Internal Error: Exception in plugin PluginId "ghcide-code-actions-imports-exports" while processing SMethod_TextDocumentCodeAction: bug in srcspan parser
CallStack (from HasCallStack):
error, called at plugins/hls-refactor-plugin/src/Development/IDE/Plugin/CodeAction.hs:957:22 in hskll-lngg-srvr-2.7.0.0-227ab907:Development.IDE.Plugin.CodeAction
2024-04-14T11:54:39.420600Z | Error | ghcide-code-actions-imports-exports: Internal Error: Exception in plugin PluginId "ghcide-code-actions-imports-exports" while processing SMethod_TextDocumentCodeAction: bug in srcspan parser
CallStack (from HasCallStack):
It should suggest to import LoggingColumn(DataColumn)