ndmitchell / weeder

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

weeder seems to misparse build-depends #38

Closed sjakobi closed 6 years ago

sjakobi commented 6 years ago

weeder-1.0.3 reports the following for threepenny-gui:

== Section library ==
Redundant build-depends entry
* aeson(

I suspect that this is due to the version bounds on that dependency:

                    ,aeson                  (>= 0.7 && < 0.10) || == 0.11.* || (>= 1.0 && < 1.4)
ndmitchell commented 6 years ago

Thanks for the info, should be easy to fix - will do so later tonight.

ndmitchell commented 6 years ago

Thanks! Yep, I've improved the package name parser, so now it should work robustly. I'll make a new release after the CI agrees with me.

ndmitchell commented 6 years ago

Released as 1.0.4.

sjakobi commented 6 years ago

Cheers! :)