Closed
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.