Skip to content

Commit

Permalink
Strip symbol of leading quote for info op
Browse files Browse the repository at this point in the history
* Fixes #2144
  • Loading branch information
PEZ committed Apr 6, 2023
1 parent e7fbfce commit d595e3b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ Changes to Calva.

## [Unreleased]

- Fix: [The nrepl client fails to look up definition on quoted symbols](https://github.com/BetterThanTomorrow/calva/issues/2144)

## [2.0.347] - 2023-04-04

- [Evaluate Rich Commment forms as top-level when the RCF is nested in other lists](https://github.com/BetterThanTomorrow/calva/issues/2109)
Expand Down
2 changes: 1 addition & 1 deletion src/nrepl/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ export class NReplSession {
const msg = {
op: 'info',
ns,
symbol,
symbol: symbol.replace(/^'/, ''),
id,
session: this.sessionId,
};
Expand Down

0 comments on commit d595e3b

Please sign in to comment.