-
-
Notifications
You must be signed in to change notification settings - Fork 401
Closed
Labels
component: ghcidelevel: easyThe issue is suited for beginnersThe issue is suited for beginnerstype: bugSomething isn't right: doesn't work as intended, documentation is missing/outdated, etc..Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..
Description
Your environment
HLS version:
1.5.1
Which OS do you use:
Debian
Which LSP client (editor/plugin) do you use:
LanguageClient-neovim
resolver: nightly-2021-09-12
Steps to reproduce
Add a file with a type family, with an empty export list. Use the "export definition" action on the type family. HLS generates an export with exported constructors, even though type families don't have constructors.
Expected behaviour
An export without constructors.
Actual behaviour
An export with constructors, which don't exist, causing an additional warning.
Metadata
Metadata
Assignees
Labels
component: ghcidelevel: easyThe issue is suited for beginnersThe issue is suited for beginnerstype: bugSomething isn't right: doesn't work as intended, documentation is missing/outdated, etc..Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..