ndmitchell / weeder

Detect dead exports or package imports
BSD 3-Clause "New" or "Revised" License
124 stars 8 forks source link

Modules imported with nothing in without orphans should be weeds #8

Closed ndmitchell closed 7 years ago

ndmitchell commented 7 years ago

Sometimes people do import Foo() and Foo doesn't have any orphan instances, which is a clear weed. Following #7 I can detect that.

ndmitchell commented 7 years ago

Done - turned out to be a lot more subtle, but it does work.