run: raco pkg show --full-checksum racket-langserver
Magic Racket version v0.6.4
Error message
Caught exn in request "textDocument/codeAction"
hash-ref: no value found for key
key: 'file:///code/test.rkt
context...:
xxx\Racket\8.6\pkgs\racket-langserver\text-document.rkt:153:0: code-action
xxx\Racket\collects\racket\contract\private\arrow-val-first.rkt:486:18
xxx\Racket\8.6\pkgs\racket-langserver\methods.rkt:26:0: process-message
xxx\Racket\collects\racket\contract\private\arrow-val-first.rkt:486:18
xxx\Racket\8.6\pkgs\racket-langserver\main.rkt:54:2: consume
@ANOLASC Thanks for filing this issue a while back. Are you able to share the source file you were working with that triggers this? I think it will be quite a bit easier to diagnose with that.
Environment
racket -v
raco pkg show --full-checksum racket-langserver
Error message
Caught exn in request "textDocument/codeAction" hash-ref: no value found for key key: 'file:///code/test.rkt context...: xxx\Racket\8.6\pkgs\racket-langserver\text-document.rkt:153:0: code-action xxx\Racket\collects\racket\contract\private\arrow-val-first.rkt:486:18 xxx\Racket\8.6\pkgs\racket-langserver\methods.rkt:26:0: process-message xxx\Racket\collects\racket\contract\private\arrow-val-first.rkt:486:18 xxx\Racket\8.6\pkgs\racket-langserver\main.rkt:54:2: consume
[Error - 21:10:22] Request textDocument/codeAction failed. Message: internal error in method "textDocument/codeAction" Code: -32603
Additional context
If relevant, please enclose a minimal example file which triggers the errors. If you're unable to enclose the file, please do the following instead: