[Issue 15086] import doesn't verify module declaration

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Dec 24 23:11:28 UTC 2022


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

Adam D. Ruppe <destructionator at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |destructionator at gmail.com

--- Comment #29 from Adam D. Ruppe <destructionator at gmail.com> ---
A rule I've written before is any module you import MUST have a module
declaration. The language doesn't require this but it really should, the
implicit module name hack has never worked well.

--


More information about the Digitalmars-d-bugs mailing list