Closed bucklereed closed 7 years ago
Thanks for the report. See also #22 which is a generalised description of the issue, lacking a test case.
I believe weeder-0.1.7 should fix this issue. I didn't actually try with the example above (various issues meant that wasn't trivial), but did add something I think is capturing the essence of the problem to my test suite, and that got detected afresh.
File
test-weeder-example.cabal
:File
src/Foo.hs
:File
bar/Main.hs
:weeder does not detect that the containers dep on the executable is redundant; I assume this is because it's actually being used by the library, and weeder's somehow getting confused about the transitive dependency between the local components.