-
Notifications
You must be signed in to change notification settings - Fork 21
Description
Hello,
I installed hdevtools with stack and it works fine with a tiny project, however, when trying to use it with a bigger project, with several modules, library and executable, I get several warnings for all files, when using hdevtools from the command line manually:
<no location info>: warning:
These modules are needed for compliation but not listed in your .cabal file's other-modules: Data.My.Module1
Data.My.Module2
<no location info>: warning:
These modules are needed for compliation but not listed in your .cabal file's other-modules: Data.My.Module1
Data.My.Module2
(yes, they do appear twice)
only then followed by the actual expected and wanted warnings about redundant imports and such.
For one, I do not understand where these come from, since, yes, those modules are not listed in my .cabal file as other-modules, but as exposed-modules (and from my understanding I can and should not have duplicate entries for them).
Furthermore (and this is a bit off-topic maybe, but this is the reason why I discovered this issue (?) and why I want to find a solution) I expect this to be related to another issue of mine, but with the hdevtools linter for atom, where it works fine for my tiny-project (where these warnings do not appear) but it does not produce anything (as in, no output on the atom gui, that is all I know) about redundant imports (which I consciously inserted to find out whether it's working and which do appear after the weird warnings at the top, when running on console) and such.
Thanks for your help and please excuse if this is an obvious beginner's mistake on my end :)