-
-
Notifications
You must be signed in to change notification settings - Fork 412
Closed
Labels
component: hls-class-plugintype: bugSomething isn't right: doesn't work as intended, documentation is missing/outdated, etc..Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..
Description
Your environment
Steps to reproduce
In Development.IDE.Types.Logger adding:
instance Pretty ResponseError whereAnd attempting to generate the class method (with no signature) results in:
(error "error while parsing args for classplugin.codeaction in plugin class: expected Bool, but encountered Null
arg = Object (fromList [(\"methodGroup\",Array [Array [String \"pretty\",String \"pretty :: ResponseError -> Doc ann\"]]),(\"range\",Object (fromList [(\"end\",Object (fromList [(\"character\",Number 29.0),(\"line\",Number 371.0)])),(\"start\",Object (fromList [(\"character\",Number 9.0),(\"line\",Number 371.0)]))])),(\"uri\",String \"file://~/redacted/haskell-language-server/ghcide/src/Development/IDE/Types/Logger.hs\"),(\"withSig\",Null)])")
FYI: this is part of log-response-errors branch so it is not in master so this will not be seen.
Expected behaviour
The generated class method to be shown
Include debug information
GHC-9.0.2 - HLS built from master (with minor changes to log messages)
Metadata
Metadata
Assignees
Labels
component: hls-class-plugintype: bugSomething isn't right: doesn't work as intended, documentation is missing/outdated, etc..Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..