[Issue 12758] Compiler should infer acceptable module name when file name includes hyphens

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun May 18 09:27:35 PDT 2014


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

--- Comment #7 from Tom Browder <tombrowder at acm.org> ---
(In reply to yebblies from comment #6)
> I don't think the compiler should be guessing what you wanted the module to
> be called.  If you want to name your files with non-identifier characters
> that's fine, but you will have to use a module declaration.

I respectfully disagree.  The default for dmd should be to translate a
legitimate file name into a legitimate module name, and give a warning at some
error level.

--


More information about the Digitalmars-d-bugs mailing list