[Issue 11473] rdmd --exclude=module1.package
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sun Jun 25 09:25:56 PDT 2017
https://issues.dlang.org/show_bug.cgi?id=11473
Vladimir Panteleev <dlang-bugzilla at thecybershadow.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |dlang-bugzilla at thecybershad
| |ow.net
Resolution|--- |WONTFIX
--- Comment #1 from Vladimir Panteleev <dlang-bugzilla at thecybershadow.net> ---
Then there would be no way to distinguish excluding just the package.d module
vs. the entire package.
Exclusions work by looking at dmd's -v output (import lines, specifically).
Since rdmd isn't really aware of how module names are resolved to file names,
it probably can't reliably add the implicit .package suffix.
Anyway, I don't think this is a problem on its own; we can just say that rdmd
is interpreting module names as they appear in the module statement, and not
the import statement. I'll close this for now, but if you have a use case for
the proposed behaviour, feel free to reopen.
--
More information about the Digitalmars-d-bugs
mailing list