Open madkins23 opened 1 year ago
If you open that code in DrRacket, you will find it said test%
"no bound occurrences"
In racket-langserver, I just check that label^1, so I don't think we are able to fix this here.
You're right. I hadn't referenced the class in my test case. I added:
(define a-test (new test%))
(send a-test testes)
to the file and the error attached to the class name went away in DrRacket
, but the error attached to the method did not even though I referenced it. The same thing happened with magic-racket
. So it appears to be a DrRacket
issue (or further misunderstanding on my part).
Found
Close this issue at your leisure, sorry to waste your time.
For the following file:
the class name
test%
and method nametestes
(sorry, inappropriate humor) show as unused variables:The attached log of communication between the
magic-racket
plugin and theracket-langserver
LSP show this coming from the LSP. Search for the secondtextDocument/publishDiagnostics
message fromserver
toclient-1
.I also tried running the plugin against a local fork of the
racket-langserver
code and got the same thing. I may dig into the code and see what I can figure out, but not immediately.