[Issue 13605] Add ability to `version` a module declaration

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Jul 7 10:19:51 PDT 2017


https://issues.dlang.org/show_bug.cgi?id=13605

Vladimir Panteleev <dlang-bugzilla at thecybershadow.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #10 from Vladimir Panteleev <dlang-bugzilla at thecybershadow.net> ---
No, no, no, no, no.

Module names must match file names. The compiler allowed them to not match
mainly for historical reasons (compatibility with C build systems). Nowadays
build / instrumentation / etc. tools all make this assumption. Perpetuating
this anti-feature is only harming the D ecosystem by putting unreasonable
burden on tool developers.

The task as described in the original issue description is canonically solved
with a public import.

--


More information about the Digitalmars-d-bugs mailing list