Record constructors being given as references to the fields with GHC versions >= 9
Open
- Dominant language
- Haskell
- Stars
- 69
- Forks
- 30
- PR merge metrics
- No merged PRs in 30d
Description
# Example
```haskell
newtype Foo = Foo { field :: Int }
```
When querying for the `point-refs` at line 1 column 22 (i.e. on the `field` name), the `Foo` constructor is given as a reference.
# Version
This seems to only be an issue with GHC versions >= 9
This is causing [haskell-language-server/#2915](https://github.com/haskell/haskell-language-server/issues/2915).
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.