clojure-lsp / clojure-lsp/clojure-lsp
Renaming local doesn't rename in every .cljc branch
Open
bug
editor
- Dominant language
- Clojure
- Stars
- 1.3k
- Forks
- 180
- Avg merge
- 13m
- Merged PRs (30d)
- 4
Description
Given this code in a `.cljc` file:
``` clojure
(let [instance-expr 1
instance-expr instance-expr]
#?(:clj [instance-expr]
:cljs [instance-expr]))
```
when renaming the second `instance-expr` in the `let` form, only the `:clj` branch local is renamed, not the `:cljs` one.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.