Bug 18040 – rdmd --exclude= --include= should allow passing in modules (not just packages)
Status
RESOLVED
Resolution
MOVED
Severity
normal
Priority
P1
Component
tools
Product
D
Version
D2
Platform
x86
OS
Mac OS X
Creation time
2017-12-07T06:07:41Z
Last change time
2021-01-09T11:06:56Z
Assigned to
No Owner
Creator
Timothee Cour
Comments
Comment #0 by timothee.cour2 — 2017-12-07T06:07:41Z
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.