tools icon indicating copy to clipboard operation
tools copied to clipboard

rdmd --exclude= --include= should allow passing in modules (not just packages)

Open dlang-bugzilla-migration opened this issue 3 years ago • 0 comments

Transferred from: https://issues.dlang.org/show_bug.cgi?id=18040

User @timotheecour reported (2017-Dec-07 06:07:41):

I don't see any reason why --exclude= --include= should be only allowing packages, it should also allow modules, eg: rdmd --exclude=bar main.d => will exclude package bar or module bar whichever is defined

Eg, there's no way currently to exclude a single module. This will allow this as well as other use cases.

User @marler8997 responded (2018-Jan-10 03:07:35):

I think this will be fixed with: https://github.com/dlang/tools/pull/271

User @marler8997 responded (2018-Jan-16 17:39:40):

https://github.com/dlang/tools/pull/271

User @marler8997 responded (2018-Jan-20 02:22:53):

https://github.com/dlang/tools/pull/271 was reverted