Repository navigation
[ fix #7251 ] sort and nub module list inferred by cabal init --lib - #7253
andreasabel wants to merge 1 commit into
Conversation
…--lib This should fix the problem that duplicate entries end up in exposed-modules, e.g. from Foo.x and Foo.hs (with alex as build-tool).
|
Here is a test script now (using BNFC): This will create a meaningful |
|
Having a test for this in cabal-testsuite would be good |
Bug fixes go in the changelog too, plus there's the sorting Here's how the changelog.d works: https://github.com/haskell/cabal/blob/master/CONTRIBUTING.md#changelog |
|
Thanks for the feedback @fgaz!
|
|
The most straightforward way to test this is with a package test. You can add it in |
|
@fgaz yeah. We've fixed this in the omnibus. |
[ fix #7251 ] sort and nub module list inferred by cabal init --lib
This should fix the problem that duplicate entries end up in exposed-modules, e.g. from
Foo.xandFoo.hs(withalexas build-tool).changelog.ddirectory).This fixes a broken behavior, shouldn't need mentioning.
Ditto
Couldn't test yet because of #7251 (comment) :-(
TODO: