haskell / haskell/haskell-language-server
Incorrect renaming between varsym and varid
Open
component: hls-rename-plugin
type: bug
- Dominant language
- Haskell
- Stars
- 3k
- Forks
- 455
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 12
Description
With hls 1.8 from ghcup:
```
fun a b = a `fun` b
(&) a b = a `(&)` b -- renamed fun to (&)
& a b = a `&` b -- renamed fun to &
(&) a b = a & b -- desired output from either renaming
```
Going the other way also produces syntax errors:
```
(&) a b = a & b
(fun) a b = a fun b -- renamed & to fun
fun a b = a `fun` b -- desired output
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.