haskell / haskell/haskell-language-server
renaming of variables in template haskell quotes
Open
component: hiedb
component: hls-rename-plugin
type: bug
- Dominant language
- Haskell
- Stars
- 3k
- Forks
- 455
- Avg merge
- 3d 21h
- Merged PRs (30d)
- 13
Description
The rename plugin does not work with template haskell quotes:
```haskell
{-# LANGUAGE TemplateHaskell #-}
module Main (main) where
main = $(
let x = 'y'
f = [| print |]
in [| $f x |] )
```
In the above code, renaming bindings of `f` or `x` doesn't change their use. Renaming `f` or `x` where they are used gives an error `Renaming of an imported name is unsupported`
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.