haskell / haskell/HieDb

Record constructors being given as references to the fields with GHC versions >= 9

Open
#45 3 comments 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.