Skip to content
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

The nrepl client fails to look up definition on quoted symbols #2144

Closed
PEZ opened this issue Apr 6, 2023 · 0 comments
Closed

The nrepl client fails to look up definition on quoted symbols #2144

PEZ opened this issue Apr 6, 2023 · 0 comments
Labels
bug Something isn't working nrepl

Comments

@PEZ
Copy link
Collaborator

PEZ commented Apr 6, 2023

Trying to go to definition on something like #'bar/baz, we are sending 'bar/baz with the info message, which the nrepl server doesn't find.

-> sent
{
  op: 'info',
  ns: 'foo',
  symbol: "'bar/baz",
  id: '13',
  session: 'c21eea6c-c211-4745-871f-5cd0eaf7d0e7'
}

<- received
{
  id: '13',
  session: 'c21eea6c-c211-4745-871f-5cd0eaf7d0e7',
  status: [ 'done', 'no-info' ]
}

Most often I don't see this causing any problem, because clojure-lsp works as a the fallback for the lookup. But if clojure-lsp is not enabled, or if this happens in a file where clojure-lsp is not active, it will fail. And it seems the fallback also fails at times for some users, anyway.

@PEZ PEZ added bug Something isn't working nrepl labels Apr 6, 2023
@bpringe bpringe closed this as completed in d595e3b Apr 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working nrepl
Projects
None yet
Development

No branches or pull requests

1 participant